summaryrefslogtreecommitdiffstats
path: root/server/config.c
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2018-05-24 22:42:43 +0200
committerChristophe Jaillet <jailletc36@apache.org>2018-05-24 22:42:43 +0200
commit8deacce8bd5aac4fc175c4319ba77f08828ab618 (patch)
tree7455eac786e9b3df23b6d4b0f68ea176550c26d3 /server/config.c
parentSuccess of 'SHGetMalloc()' should be tested with the SUCCEEDED macro. (diff)
downloadapache2-8deacce8bd5aac4fc175c4319ba77f08828ab618.tar.xz
apache2-8deacce8bd5aac4fc175c4319ba77f08828ab618.zip
Axe some dead code.
See PR 60086. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/config.c b/server/config.c
index 27881edd85..b06b6e55ce 100644
--- a/server/config.c
+++ b/server/config.c
@@ -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);