From: Matt Kraai Date: Fri, 6 Jul 2001 19:28:07 +0000 (-0000) Subject: Remove redundant initialization of lfile to reduce executable size by X-Git-Tag: 0_52~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c308847274aa289344994cec31bc4b528f59e04e;p=oweals%2Fbusybox.git Remove redundant initialization of lfile to reduce executable size by 8192 bytes (noted by Mike Castle). --- diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 89f5348ec..d334c50c9 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -55,7 +55,7 @@ #define __LOG_FILE "/var/log/messages" /* Path to the unix socket */ -static char lfile[BUFSIZ] = ""; +static char lfile[BUFSIZ]; static char *logFilePath = __LOG_FILE; diff --git a/syslogd.c b/syslogd.c index 89f5348ec..d334c50c9 100644 --- a/syslogd.c +++ b/syslogd.c @@ -55,7 +55,7 @@ #define __LOG_FILE "/var/log/messages" /* Path to the unix socket */ -static char lfile[BUFSIZ] = ""; +static char lfile[BUFSIZ]; static char *logFilePath = __LOG_FILE;