diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/generate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate.c b/tools/generate.c index f35893c3..36e1d05a 100644 --- a/tools/generate.c +++ b/tools/generate.c @@ -80,11 +80,11 @@ main (int argc, char *argv[]) for (i = 0; input[i]; i++) { - GError *error = NULL; const char *namespace; GMappedFile *mfile; GITypelib *typelib; + error = NULL; mfile = g_mapped_file_new (input[i], FALSE, &error); if (!mfile) g_error ("failed to read '%s': %s", input[i], error->message); |