Skip to content

Commit b60e719

Browse files
authored
Merge pull request #117 from trevorknight/main
Add default case for non-exhaustive switch statement
2 parents e348c8d + 21ac1b4 commit b60e719

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

code/src/iamf_dec/vlogging_tool_sr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ int write_postfix(LOG_TYPE type, char* buf) {
249249
case LOG_DECOP:
250250
len = sprintf(buf, "##\n");
251251
break;
252+
default:
253+
break;
252254
}
253255

254256
return len;

0 commit comments

Comments
 (0)