diff src/vdb-posix.c @ 3462:6c7605dfcf07

[xemacs-hg @ 2006-06-19 18:19:33 by james] Fix various problems found by static checkers: use of uninitialized values, dereferencing pointers before checking whether they are NULL, memory leaks, and incomplete checking of return values. <m3k67gpyhk.fsf@jerrypc.cs.usu.edu>
author james
date Mon, 19 Jun 2006 18:19:38 +0000
parents d81b1754aab1
children 896a34d28b71
line wrap: on
line diff
--- a/src/vdb-posix.c	Mon Jun 19 18:10:19 2006 +0000
+++ b/src/vdb-posix.c	Mon Jun 19 18:19:38 2006 +0000
@@ -73,7 +73,7 @@
     }
   else  /* default sigsegv handler */
     {
-      char *signal_name;
+      char *signal_name = "";
       if (signum == SIGSEGV)
 	signal_name = "SIGSEGV";
       else if (signum == SIGBUS)