diff --git a/configure.ac b/configure.ac index cf0a56d..927d8e5 100644 --- a/configure.ac +++ b/configure.ac @@ -187,12 +187,16 @@ AX_APPEND_COMPILE_FLAGS([ \ -Wrestrict \ -Wformat=2 \ -Wwrite-strings \ - -Wcast-qual \ -Wpointer-arith \ -Wstrict-prototypes \ -Wmissing-prototypes \ -Wmissing-declarations \ -Wno-unused-parameter \ + -Wno-unused-function \ + -Wno-unused-variable \ + -Wno-unused-but-set-variable \ + -Wno-pointer-sign \ + -Wno-shadow \ ]) # Windows specific compiler options. diff --git a/src/suunto_eonsteel_parser.c b/src/suunto_eonsteel_parser.c index ffdd172..b48b701 100644 --- a/src/suunto_eonsteel_parser.c +++ b/src/suunto_eonsteel_parser.c @@ -1462,6 +1462,8 @@ static int traverse_sample_fields(suunto_eonsteel_parser_t *eon, const struct ty set_depth_field(eon, array_uint16_le(data)); data += 2; continue; + default: + break; } break; }