Fix shadow of previous local
Fix the build failure in https://github.com/flatpak/flatpak/pull/3853
This commit is contained in:
@@ -1600,7 +1600,7 @@ parse_args_recurse (int *argcp,
|
|||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
die ("--remount-ro takes one argument");
|
die ("--remount-ro takes one argument");
|
||||||
|
|
||||||
SetupOp *op = setup_op_new (SETUP_REMOUNT_RO_NO_RECURSIVE);
|
op = setup_op_new (SETUP_REMOUNT_RO_NO_RECURSIVE);
|
||||||
op->dest = argv[1];
|
op->dest = argv[1];
|
||||||
|
|
||||||
argv++;
|
argv++;
|
||||||
|
@@ -70,6 +70,7 @@ dnl Keep this in sync with ostree, except remove -Werror=declaration-after-state
|
|||||||
CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
|
CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
|
||||||
-pipe \
|
-pipe \
|
||||||
-Wall \
|
-Wall \
|
||||||
|
-Werror=shadow \
|
||||||
-Werror=empty-body \
|
-Werror=empty-body \
|
||||||
-Werror=strict-prototypes \
|
-Werror=strict-prototypes \
|
||||||
-Werror=missing-prototypes \
|
-Werror=missing-prototypes \
|
||||||
|
Reference in New Issue
Block a user