build: enable -Wshadow

This commit is contained in:
Christoph Reiter 2018-07-29 15:56:35 +02:00 committed by Philip Withnall
parent d70551e624
commit 4c150f199e

View File

@ -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);