Fix shadow of previous local

Fix the build failure in https://github.com/flatpak/flatpak/pull/3853
This commit is contained in:
Phaedrus Leeds
2020-09-11 21:07:17 -07:00
parent 4e310cadf6
commit a6f02a3043
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -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 \