[mapserver-commits] r8193 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Dec 4 13:04:34 EST 2008


Author: tbonfort
Date: 2008-12-04 13:04:34 -0500 (Thu, 04 Dec 2008)
New Revision: 8193

Modified:
   trunk/mapserver/maplabel.c
Log:
compiler warnings (#2822)

Modified: trunk/mapserver/maplabel.c
===================================================================
--- trunk/mapserver/maplabel.c	2008-12-04 15:47:26 UTC (rev 8192)
+++ trunk/mapserver/maplabel.c	2008-12-04 18:04:34 UTC (rev 8193)
@@ -600,7 +600,7 @@
 
     sscanf(buffer,"%s %s", alias,  file1);
 
-    if (!file1 || !alias || (strlen(file1) <= 0))
+    if (!(*file1) || !(*alias) || (strlen(file1) <= 0))
       continue;
     
     bFullPath = 0;



More information about the mapserver-commits mailing list