projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
205ab68
)
conf: remove unneeded global initialization
author
David Herrmann
<dh.herrmann@googlemail.com>
Fri, 23 Mar 2012 16:40:56 +0000
(17:40 +0100)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Fri, 23 Mar 2012 16:40:56 +0000
(17:40 +0100)
Global variables are initialized to 0 automatically. So remove the
initialization.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/conf.c
patch
|
blob
|
history
diff --git
a/src/conf.c
b/src/conf.c
index
7699952
..
5999df2
100644
(file)
--- 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()
{