From: Christophe Jaillet Date: Sun, 2 Dec 2012 07:19:22 +0000 (+0000) Subject: error[120] is already defined in this function. Just use it instead of shadowing. X-Git-Tag: 2.5.0-alpha~6073 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c53f52c99702a9309e07192ffe8d421bd3c56743;p=apache 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 --- 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);