summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-06-16 22:47:31 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2017-06-16 22:47:31 -0400
commit7f500d89880b2dfc0fee4957ba9ade1e6f227c22 (patch)
tree47fd4ce853959dc9af41cf9b4ceb9ed2e3000d21 /cgi-bin
parentf34c1c99cd8dba4b43a287613833408400a37412 (diff)
downloadcups-7f500d89880b2dfc0fee4957ba9ade1e6f227c22.tar.gz
Fix some (bogus) clang warnings.
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/help.c b/cgi-bin/help.c
index 07f6f2720..df3392652 100644
--- a/cgi-bin/help.c
+++ b/cgi-bin/help.c
@@ -271,7 +271,7 @@ main(int argc, /* I - Number of command-line arguments */
section = n->section;
}
- if (!topic || strcmp(n->section, topic))
+ if (!topic || !n->section || strcmp(n->section, topic))
continue;
/*