From 21416f453a288d97ab740553494d2d66d4cb9c70 Mon Sep 17 00:00:00 2001 From: Thomas James Alexander Thurman Date: Tue, 3 Feb 2009 02:21:36 +0000 Subject: [PATCH] Wrap g_error calls in braces. * src/core/schema-bindings.c: Wrap g_error calls in braces. svn path=/trunk/; revision=4110 --- ChangeLog | 4 ++++ src/core/schema-bindings.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6504fad3d..668c60078 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-02-02 Matt Kraai + + * src/core/schema-bindings.c: Wrap g_error calls in braces. + 2009-02-01 Thomas Thurman * configure.in: Post-release bump to 2.25.233. diff --git a/src/core/schema-bindings.c b/src/core/schema-bindings.c index 77a428996..c19d0ca9e 100644 --- a/src/core/schema-bindings.c +++ b/src/core/schema-bindings.c @@ -138,12 +138,16 @@ produce_bindings () fprintf (target_file, "%s", buffer); if (fclose (source_file)!=0) + { g_error ("Cannot close %s: %s\n", source_filename, strerror (errno)); + } if (fclose (target_file)!=0) + { g_error ("Cannot close %s: %s\n", target_filename, strerror (errno)); + } } int