diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2012-12-02 08:19:22 +0100 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2012-12-02 08:19:22 +0100 |
commit | c53f52c99702a9309e07192ffe8d421bd3c56743 (patch) | |
tree | d6fb59bb740cc783d5130e4dc22d6550885bab14 /support | |
parent | Updates. (diff) | |
download | apache2-c53f52c99702a9309e07192ffe8d421bd3c56743.tar.xz apache2-c53f52c99702a9309e07192ffe8d421bd3c56743.zip |
error[120] is already defined in this function. Just use it instead of shadowing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r-- | support/rotatelogs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/support/rotatelogs.c b/support/rotatelogs.c index a706a97e70..b4603fb865 100644 --- a/support/rotatelogs.c +++ b/support/rotatelogs.c @@ -268,7 +268,6 @@ static void post_rotate(apr_pool_t *pool, struct logfile *newlog, } rv = apr_file_link(newlog->name, config->linkfile); if (rv != APR_SUCCESS) { - char error[120]; apr_strerror(rv, error, sizeof error); fprintf(stderr, "Error linking file %s to %s (%s)\n", newlog->name, config->linkfile, error); |