Fix -Wswitch compiler warning

Add a default label to prevent warnings for all enum values not handled
in the switch statement. It's intentional in this piece of code.
This commit is contained in:
Jef Driesen 2020-07-17 14:24:49 +02:00
parent b97acabb01
commit 548fce69f8

View File

@ -1427,6 +1427,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;
}