mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-09 14:20:06 +02: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++)
|
for (i = 0; input[i]; i++)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
|
||||||
const char *namespace;
|
const char *namespace;
|
||||||
GMappedFile *mfile;
|
GMappedFile *mfile;
|
||||||
GITypelib *typelib;
|
GITypelib *typelib;
|
||||||
|
|
||||||
|
error = NULL;
|
||||||
mfile = g_mapped_file_new (input[i], FALSE, &error);
|
mfile = g_mapped_file_new (input[i], FALSE, &error);
|
||||||
if (!mfile)
|
if (!mfile)
|
||||||
g_error ("failed to read '%s': %s", input[i], error->message);
|
g_error ("failed to read '%s': %s", input[i], error->message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user