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:
parent
7c712c2e7d
commit
00fe9bc3d5
|
@ -93,9 +93,14 @@ dfvm_value_free(dfvm_value_t *v)
|
|||
case PCRE:
|
||||
ws_regex_free(v->value.pcre);
|
||||
break;
|
||||
default:
|
||||
/* nothing */
|
||||
;
|
||||
case EMPTY:
|
||||
case HFINFO:
|
||||
case RAW_HFINFO:
|
||||
case INSN_NUMBER:
|
||||
case REGISTER:
|
||||
case INTEGER:
|
||||
case FUNCTION_DEF:
|
||||
break;
|
||||
}
|
||||
g_free(v);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue