Some const correctness fixes.
[gedcom-parse.git] / 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;