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
1 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue