summaryrefslogtreecommitdiff
path: root/epan/dfilter/dfilter.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-02-17 08:15:05 +0000
committerGuy Harris <guy@alum.mit.edu>2011-02-17 08:15:05 +0000
commit8eb8623b15bd5870ffb86d76b9f396d4ccf0537f (patch)
tree6ff832bdf203817e6c2cf882b7bb8ef64eb74516 /epan/dfilter/dfilter.c
parent3884e987b6a791032acfc1fde9cda00f8fb0b0d1 (diff)
downloadwireshark-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.c2
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;
}