aboutsummaryrefslogtreecommitdiffstats
path: root/main/logger.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-27 22:06:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-27 22:06:56 +0000
commitbec31308c06801ff6170b9bdbed27cb7c3dcfb9c (patch)
tree3630ee5a0a14ae6ee9a94c42beda6054b5bb0e65 /main/logger.c
parentb92384e18833f481cdf28dea1988346ff83a841b (diff)
since these variables all have static duration, none of them need initializers (they default to zero anyway)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49006 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/logger.c')
-rw-r--r--main/logger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/logger.c b/main/logger.c
index 21effac71..1ec8bc66b 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -83,7 +83,7 @@ static int syslog_level_map[] = {
static char dateformat[256] = "%b %e %T"; /* Original Asterisk Format */
-static int filesize_reload_needed = 0;
+static int filesize_reload_needed;
static int global_logmask = -1;
static struct {
@@ -111,8 +111,8 @@ struct logchannel {
static AST_LIST_HEAD_STATIC(logchannels, logchannel);
-static FILE *eventlog = NULL;
-static FILE *qlog = NULL;
+static FILE *eventlog;
+static FILE *qlog;
static char *levels[] = {
"DEBUG",