Make sure compatibility_program is initialized to 0.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 25 Jan 2003 20:19:02 +0000 (20:19 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 25 Jan 2003 20:19:02 +0000 (20:19 +0000)
gedcom/compat.c

index ffb127c803264dcadfd4abe64b26688f08d8cecb..c0990bf81cae1bd0c8946fd1f567485d452cd65c 100644 (file)
@@ -117,6 +117,7 @@ void enable_compat_msg(const char* program_name, int version)
 
 void set_compatibility_program(const char* program)
 {
+  compatibility_program = 0;
   if (compat_enabled) {
     if (! strncmp(program, "ftree", 6)) {
       compatibility_program = CP_FTREE;