Properly initialize res variable.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 9 Dec 2001 17:25:36 +0000 (17:25 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 9 Dec 2001 17:25:36 +0000 (17:25 +0000)
gedcom/gedcom.y

index d957ca079c76fb5036dd3122bf9ce1d8a692c602..20e06ea3893fd4663300e1ff786c87b9d83fb4f2 100644 (file)
@@ -2623,7 +2623,7 @@ void gedcom_set_debug_level(int level, FILE* f)
 
 int gedcom_debug_print(char* s, ...)
 {
-  int res;
+  int res = 0;
   if (gedcom_high_level_debug) {
     va_list ap;
     va_start(ap, s);