]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove spurious braces to fix clang warning
authorStefan Fritsch <sf@apache.org>
Mon, 13 Jun 2011 16:50:41 +0000 (16:50 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 13 Jun 2011 16:50:41 +0000 (16:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135171 13f79535-47bb-0310-9956-ffa450edef68

modules/http/byterange_filter.c

index 98bf281be9c3df913880e3eab0953f41d821e58b..13bf0a1e51d56882f260e78af90ccbb20b8db179 100644 (file)
@@ -72,7 +72,7 @@ static int parse_byterange(char *range, apr_off_t clength,
         return 0;
     }
 
-    if ((dash == range)) {
+    if (dash == range) {
         /* In the form "-5" */
         if (apr_strtoff(&number, dash+1, &errp, 10) || *errp) {
             return 0;