httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1139391 - in /httpd/httpd/trunk: modules/ldap/util_ldap.c server/config.c
Date Fri, 24 Jun 2011 17:59:44 GMT
Author: sf
Date: Fri Jun 24 17:59:44 2011
New Revision: 1139391

URL: http://svn.apache.org/viewvc?rev=1139391&view=rev
Log:
Fix "statement not reached" warnings with sun cc

Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap.c
    httpd/httpd/trunk/server/config.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=1139391&r1=1139390&r2=1139391&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Fri Jun 24 17:59:44 2011
@@ -2453,10 +2453,10 @@ static const char *util_ldap_set_debug_l
 
 #ifndef AP_LDAP_OPT_DEBUG
     return "This directive is not supported with the currently linked LDAP library";
-#endif
-
+#else
     st->debug_level = atoi(arg);
     return NULL;
+#endif
 } 
 
 static const char *util_ldap_set_referral_hop_limit(cmd_parms *cmd,

Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=1139391&r1=1139390&r2=1139391&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Fri Jun 24 17:59:44 2011
@@ -1969,10 +1969,7 @@ AP_DECLARE(const char *) ap_process_fnma
         /* walk the filepath */
         return process_resource_config_fnmatch(s, rootpath, filepath, conftree, p, ptemp,
                                                0, optional);
-
     }
-
-    return NULL;
 }
 
 AP_DECLARE(int) ap_process_config_tree(server_rec *s,



Mime
View raw message