]> granicus.if.org Git - apache/commitdiff
Axe some dead code.
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 24 May 2018 20:42:43 +0000 (20:42 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 24 May 2018 20:42:43 +0000 (20:42 +0000)
See PR 60086.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832200 13f79535-47bb-0310-9956-ffa450edef68

server/config.c

index 27881edd85be5d670df78ef191f3eee57650c4f6..b06b6e55ce5ad6d4b8517ae22a1b4baa06d0effa 100644 (file)
@@ -2051,7 +2051,7 @@ static const char *process_resource_config_fnmatch(server_rec *s,
             /* If matching internal to path, and we happen to match something
              * other than a directory, skip it
              */
-            if (rest && (rv == APR_SUCCESS) && (dirent.filetype != APR_DIR)) {
+            if (rest && (dirent.filetype != APR_DIR)) {
                 continue;
             }
             fnew = (fnames *) apr_array_push(candidates);