diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-29 15:56:35 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-29 18:57:03 +0200 |
commit | ea8d9cd9b5daf701ef25a03727b08a583ee8589a (patch) | |
tree | ffb1e0210961266d60e7acf968413d79a428c8cf /tools | |
parent | b76ffdcce297ef55330839ddfe3053163e3b9abb (diff) | |
download | gobject-introspection-ea8d9cd9b5daf701ef25a03727b08a583ee8589a.tar.gz |
build: enable -Wshadow
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); |