dfilter: Remove a default case statement

Let a (good) compiler warn if there is a missing case
in the switch.
This commit is contained in:
João Valverde 2023-04-20 18:15:16 +01:00
parent 7c712c2e7d
commit 00fe9bc3d5
1 changed files with 8 additions and 3 deletions

View File

@ -93,9 +93,14 @@ dfvm_value_free(dfvm_value_t *v)
case PCRE: case PCRE:
ws_regex_free(v->value.pcre); ws_regex_free(v->value.pcre);
break; break;
default: case EMPTY:
/* nothing */ case HFINFO:
; case RAW_HFINFO:
case INSN_NUMBER:
case REGISTER:
case INTEGER:
case FUNCTION_DEF:
break;
} }
g_free(v); g_free(v);
} }