chiark / gitweb /
coredumpctl: initialize global vars
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2012 18:23:28 +0000 (20:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2012 18:23:28 +0000 (20:23 +0200)
src/journal/coredumpctl.c

index 5c442ffe9b1d4ec5cadb4b5ba04698bce9319f83..51d333c6bd744610bed808cd465869f556cb989c 100644 (file)
@@ -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;