From ccc403587ce78639daa6cf3cf220575011e88d3a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 26 Oct 2012 20:23:28 +0200 Subject: coredumpctl: initialize global vars --- src/journal/coredumpctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/journal') 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; -- cgit v1.2.3-54-g00ecf