Skip to content

Commit 21ac1b4

Browse files
authored
Add default case for non-exhaustive switch statement
1 parent e348c8d commit 21ac1b4

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)