diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-02-17 08:15:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-02-17 08:15:05 +0000 |
commit | 8eb8623b15bd5870ffb86d76b9f396d4ccf0537f (patch) | |
tree | 6ff832bdf203817e6c2cf882b7bb8ef64eb74516 /epan/dfilter/dfilter.c | |
parent | 3884e987b6a791032acfc1fde9cda00f8fb0b0d1 (diff) | |
download | wireshark-8eb8623b15bd5870ffb86d76b9f396d4ccf0537f.tar.gz |
OK, let's try a couple more explicit checks against NULL, to see whether
that de-confuses Microsoft's code analyzer.
svn path=/trunk/; revision=35975
Diffstat (limited to 'epan/dfilter/dfilter.c')
-rw-r--r-- | epan/dfilter/dfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dfilter/dfilter.c b/epan/dfilter/dfilter.c index 143693123d..21a4b51e2e 100644 --- a/epan/dfilter/dfilter.c +++ b/epan/dfilter/dfilter.c @@ -223,7 +223,7 @@ dfilter_compile(const gchar *text, dfilter_t **dfp) g_assert(dfp); - if (!text) { + if (text == NULL) { *dfp = NULL; return FALSE; } |