From c53f52c99702a9309e07192ffe8d421bd3c56743 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sun, 2 Dec 2012 07:19:22 +0000 Subject: [PATCH] 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 --- support/rotatelogs.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.50.1