Wrap g_error calls in braces.
* src/core/schema-bindings.c: Wrap g_error calls in braces. svn path=/trunk/; revision=4110
This commit is contained in:
parent
ad16804344
commit
21416f453a
@ -1,3 +1,7 @@
|
|||||||
|
2009-02-02 Matt Kraai <kraai@ftfbs.org>
|
||||||
|
|
||||||
|
* src/core/schema-bindings.c: Wrap g_error calls in braces.
|
||||||
|
|
||||||
2009-02-01 Thomas Thurman <tthurman@gnome.org>
|
2009-02-01 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
* configure.in: Post-release bump to 2.25.233.
|
* configure.in: Post-release bump to 2.25.233.
|
||||||
|
@ -138,13 +138,17 @@ produce_bindings ()
|
|||||||
fprintf (target_file, "%s", buffer);
|
fprintf (target_file, "%s", buffer);
|
||||||
|
|
||||||
if (fclose (source_file)!=0)
|
if (fclose (source_file)!=0)
|
||||||
|
{
|
||||||
g_error ("Cannot close %s: %s\n",
|
g_error ("Cannot close %s: %s\n",
|
||||||
source_filename, strerror (errno));
|
source_filename, strerror (errno));
|
||||||
|
}
|
||||||
|
|
||||||
if (fclose (target_file)!=0)
|
if (fclose (target_file)!=0)
|
||||||
|
{
|
||||||
g_error ("Cannot close %s: %s\n",
|
g_error ("Cannot close %s: %s\n",
|
||||||
target_filename, strerror (errno));
|
target_filename, strerror (errno));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user