Quell a (correct) GCC warning in the NO_HTMLHELP case.
[sgt/putty] / windows / winhelp.c
index a8d63a5..8b652c7 100644 (file)
@@ -81,7 +81,7 @@ int has_help(void)
      * unrealistic, since even Vista will have it if the user
      * specifically downloads it.
      */
-    return (help_path
+    return (help_path != NULL
 #ifndef NO_HTMLHELP
            || chm_path
 #endif /* NO_HTMLHELP */