httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1135171 - /httpd/httpd/trunk/modules/http/byterange_filter.c
Date Mon, 13 Jun 2011 16:50:41 GMT
Author: sf
Date: Mon Jun 13 16:50:41 2011
New Revision: 1135171

URL: http://svn.apache.org/viewvc?rev=1135171&view=rev
Log:
Remove spurious braces to fix clang warning

Modified:
    httpd/httpd/trunk/modules/http/byterange_filter.c

Modified: httpd/httpd/trunk/modules/http/byterange_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/byterange_filter.c?rev=1135171&r1=1135170&r2=1135171&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/byterange_filter.c (original)
+++ httpd/httpd/trunk/modules/http/byterange_filter.c Mon Jun 13 16:50:41 2011
@@ -72,7 +72,7 @@ static int parse_byterange(char *range, 
         return 0;
     }
 
-    if ((dash == range)) {
+    if (dash == range) {
         /* In the form "-5" */
         if (apr_strtoff(&number, dash+1, &errp, 10) || *errp) {
             return 0;



Mime
View raw message