forked from osmocom/wireshark
semcheck: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I000f9df1e41cab7fa0132153ff95caf31f3f6a6a Reviewed-on: https://code.wireshark.org/review/17892 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
04761f220b
commit
26950539d6
|
@ -1111,7 +1111,6 @@ check_relation_LHS_RANGE(dfwork_t *dfw, const char *relation_string,
|
|||
else if (type2 == STTYPE_CHARCONST) {
|
||||
DebugLog((" 5 check_relation_LHS_RANGE(type2 = STTYPE_CHARCONST)\n"));
|
||||
s = (char*)stnode_data(st_arg2);
|
||||
len_range = drange_get_total_length(sttype_range_drange(st_arg1));
|
||||
if (strcmp(relation_string, "matches") == 0) {
|
||||
/* Convert to a FT_PCRE */
|
||||
fvalue = dfilter_fvalue_from_unparsed(dfw, FT_PCRE, s, FALSE);
|
||||
|
|
Loading…
Reference in New Issue