summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-26 20:23:28 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-26 20:23:28 +0200
commitccc403587ce78639daa6cf3cf220575011e88d3a (patch)
tree475c9d282f7622b14b6775409faa14c89e184f6b /src
parent85210bffd8363e491b4c31f2d09404f9869ad0c7 (diff)
coredumpctl: initialize global vars
Diffstat (limited to 'src')
-rw-r--r--src/journal/coredumpctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index 5c442ffe9b..51d333c6bd 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -38,10 +38,10 @@ static enum {
ACTION_DUMP,
} arg_action = ACTION_LIST;
-Set *matches;
-FILE* output;
+static Set *matches = NULL;
+static FILE* output = NULL;
-int arg_no_pager;
+static int arg_no_pager = false;
static Set *new_matches(void) {
Set *set;