Module Name: xsrc
Committed By: wiz
Date: Sun Mar 30 18:46:06 UTC 2014
Modified Files:
xsrc/external/mit/xman/dist: handler.c
Log Message:
ifdef out senseless code that clang complains about with
-Wtautological-pointer-compare.
I've asked upstream what check was really intended here.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xman/dist/handler.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xman/dist/handler.c
diff -u xsrc/external/mit/xman/dist/handler.c:1.3 xsrc/external/mit/xman/dist/handler.c:1.4
--- xsrc/external/mit/xman/dist/handler.c:1.3 Mon Mar 17 09:43:11 2014
+++ xsrc/external/mit/xman/dist/handler.c Sun Mar 30 18:46:06 2014
@@ -320,8 +320,10 @@ SaveFormattedPage(Widget w, XEvent * eve
* If we are not active then take no action.
*/
+#if ARRAY_COMPARISON_TO_NULL_POINTER_MAKES_SENSE
if (man_globals->tempfile == NULL)
return;
+#endif
switch (params[0][0]) {
case 'S':