diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:06:56 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-27 22:06:56 +0000 |
commit | bec31308c06801ff6170b9bdbed27cb7c3dcfb9c (patch) | |
tree | 3630ee5a0a14ae6ee9a94c42beda6054b5bb0e65 /main/asterisk.c | |
parent | b92384e18833f481cdf28dea1988346ff83a841b (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/asterisk.c')
-rw-r--r-- | main/asterisk.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 27f433896..929a83b47 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -154,11 +154,11 @@ int daemon(int, int); /* defined in libresolv of all places */ struct ast_flags ast_options = { AST_DEFAULT_OPTIONS }; -int option_verbose = 0; /*!< Verbosity level */ -int option_debug = 0; /*!< Debug level */ +int option_verbose; /*!< Verbosity level */ +int option_debug; /*!< Debug level */ -double option_maxload = 0.0; /*!< Max load avg on system */ -int option_maxcalls = 0; /*!< Max number of active calls */ +double option_maxload; /*!< Max load avg on system */ +int option_maxcalls; /*!< Max number of active calls */ /*! @} */ @@ -185,8 +185,8 @@ static AST_LIST_HEAD_STATIC(atexits, ast_atexit); time_t ast_startuptime; time_t ast_lastreloadtime; -static History *el_hist = NULL; -static EditLine *el = NULL; +static History *el_hist; +static EditLine *el; static char *remotehostname; struct console consoles[AST_MAX_CONNECTS]; @@ -227,8 +227,8 @@ extern const char *ast_build_date; extern const char *ast_build_user; static char *_argv[256]; -static int shuttingdown = 0; -static int restartnow = 0; +static int shuttingdown; +static int restartnow; static pthread_t consolethread = AST_PTHREADT_NULL; static char randompool[256]; |