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:
parent
b97acabb01
commit
548fce69f8
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user