mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
build: enable -Wshadow
This commit is contained in:
parent
d70551e624
commit
4c150f199e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user