From: Peter Verthez Date: Sat, 25 Jan 2003 20:19:02 +0000 (+0000) Subject: Make sure compatibility_program is initialized to 0. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=659013d3a740e6735ade47b082ed6574361c1000;p=gedcom-parse.git Make sure compatibility_program is initialized to 0. --- diff --git a/gedcom/compat.c b/gedcom/compat.c index ffb127c..c0990bf 100644 --- a/gedcom/compat.c +++ b/gedcom/compat.c @@ -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;