httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject [PATCH] mod_include typo
Date Mon, 23 Jul 2001 07:50:19 GMT
I'm compiling with the Sun Forte 6.0 compiler and trying to go through
the warnings.  This one is obviously bogus.  

There are two others places in mod_include.c that emit warnings (lines 
1577 and 1707 generate: "end-of-loop code not reached").  I think the 
compiler is right - the while should be an if, but I'm not 100% sure 
as I'm half-asleep...  -- justin

Index: modules/filters/mod_include.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
retrieving revision 1.111
diff -u -r1.111 mod_include.c
--- modules/filters/mod_include.c	2001/06/13 13:44:36	1.111
+++ modules/filters/mod_include.c	2001/07/23 07:43:39
@@ -2660,7 +2660,6 @@
     result->default_time_fmt = DEFAULT_TIME_FORMAT;
     result->xbithack = xbh;
     return result;
-    return result;
 }
 
 static const char *set_xbithack(cmd_parms *cmd, void *xbp, const char *arg)


Mime
View raw message