summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bubblewrap.c2
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 1 deletions
diff --git a/bubblewrap.c b/bubblewrap.c
index d65ffef..efca03c 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -1600,7 +1600,7 @@ parse_args_recurse (int *argcp,
if (argc < 2)
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];
argv++;
diff --git a/configure.ac b/configure.ac
index a540c5b..c405b5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,7 @@ dnl Keep this in sync with ostree, except remove -Werror=declaration-after-state
CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
-pipe \
-Wall \
+ -Werror=shadow \
-Werror=empty-body \
-Werror=strict-prototypes \
-Werror=missing-prototypes \