From: Peter Verthez Date: Mon, 14 Oct 2002 18:48:50 +0000 (+0000) Subject: Don't to test_xref_functions if gedcom_new_model failed. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=66b0bff7736e87c5c51d7d4240a4111d563a4700;p=gedcom-parse.git Don't to test_xref_functions if gedcom_new_model failed. --- diff --git a/t/src/update.c b/t/src/update.c index cc98376..fc0e079 100644 --- a/t/src/update.c +++ b/t/src/update.c @@ -161,7 +161,8 @@ int main(int argc, char* argv[]) output_open(); result = gedcom_new_model(); - result |= test_xref_functions(); + if (result == 0) + result |= test_xref_functions(); if (result == 0) { output(1, "Test succeeded\n"); }