summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-03-23 17:40:56 +0100
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-03-23 17:40:56 +0100
commita4bd71cd0cb55b2ae99972a1428cd38fae2cd1c6 (patch)
tree4d481e2791c041fee296e47f289f98829c2f778d /src/conf.c
parent205ab68ff9535ba105edcca0379d149237b337f2 (diff)
conf: remove unneeded global initialization
Global variables are initialized to 0 automatically. So remove the initialization. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/conf.c b/src/conf.c
index 7699952..5999df2 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -39,11 +39,7 @@
#define LOG_SUBSYSTEM "config"
-struct conf_obj conf_global = {
- .exit = 0,
- .debug = 0,
- .verbose = 0,
-};
+struct conf_obj conf_global;
static void print_help()
{