aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-07-06 19:28:07 +0000
committerMatt Kraai <kraai@debian.org>2001-07-06 19:28:07 +0000
commitc308847274aa289344994cec31bc4b528f59e04e (patch)
treeefce00c99dfb918da19200fbc62abc5c3803cdd0
parent00e56ada9cd67851d8ff3a9660c6e4fd7816a266 (diff)
downloadbusybox-c308847274aa289344994cec31bc4b528f59e04e.tar.gz
Remove redundant initialization of lfile to reduce executable size by
8192 bytes (noted by Mike Castle).
-rw-r--r--sysklogd/syslogd.c2
-rw-r--r--syslogd.c2
2 files changed, 2 insertions, 2 deletions
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;