diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-11-05 08:10:40 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-11-05 08:10:40 +0000 |
commit | 4eeb73ea2ee3a16f8fca135697b60d8403fe3618 (patch) | |
tree | 48a3fd0bbaed0fe773b5917d8401d837c8a80349 /gtk | |
parent | b65147173d805883b493a2c3ae8497a7f4352c58 (diff) |
Corrected an if-statement in field_select_row_cb() where checking for
hfinfo->strings and hfinfo->display.
This bug was found by clang.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34785 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/dfilter_expr_dlg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/dfilter_expr_dlg.c b/gtk/dfilter_expr_dlg.c index 96457a0e3a..c33efe67ee 100644 --- a/gtk/dfilter_expr_dlg.c +++ b/gtk/dfilter_expr_dlg.c @@ -192,7 +192,7 @@ field_select_row_cb(GtkTreeSelection *sel, gpointer tree) * fill up the list of values, otherwise clear the list of values. */ /* XXX: ToDo: Implement "range-string" filter ? */ - if ((hfinfo->strings != NULL) & !(hfinfo->display & BASE_RANGE_STRING)) { + if ((hfinfo->strings != NULL) && !(hfinfo->display & BASE_RANGE_STRING)) { const value_string *vals = hfinfo->strings; if (hfinfo->display & BASE_EXT_STRING) vals = VALUE_STRING_EXT_VS_P((value_string_ext *) vals); |