Remove redundant initialization of lfile to reduce executable size by
authorMatt Kraai <kraai@debian.org>
Fri, 6 Jul 2001 19:28:07 +0000 (19:28 -0000)
committerMatt Kraai <kraai@debian.org>
Fri, 6 Jul 2001 19:28:07 +0000 (19:28 -0000)
8192 bytes (noted by Mike Castle).

sysklogd/syslogd.c
syslogd.c

index 89f5348ec94ffbd197fac8ee275873ffe33d4463..d334c50c9b3b72d0bf48f5ab65abb522ed1e574d 100644 (file)
@@ -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;
 
index 89f5348ec94ffbd197fac8ee275873ffe33d4463..d334c50c9b3b72d0bf48f5ab65abb522ed1e574d 100644 (file)
--- 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;