Blob Blame History Raw
From f68f48520a1fb3af37bfacd0bdb5c7c6824f6452 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Wed, 14 Jan 2015 13:50:55 +0100
Subject: [PATCH] ureport: correct variable initializations

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 src/plugins/reporter-ureport.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/plugins/reporter-ureport.c b/src/plugins/reporter-ureport.c
index e8c1ed5..cc3c59a 100644
--- a/src/plugins/reporter-ureport.c
+++ b/src/plugins/reporter-ureport.c
@@ -54,13 +54,13 @@ int main(int argc, char **argv)
     GList *auth_items = NULL;
     const char *dump_dir_path = ".";
     const char *ureport_hash = NULL;
-    bool ureport_hash_from_rt = false;
+    int ureport_hash_from_rt = 0;
     int rhbz_bug = -1;
-    int rhbz_bug_from_rt = false;
+    int rhbz_bug_from_rt = 0;
     const char *email_address = NULL;
-    int email_address_from_env = false;
+    int email_address_from_env = 0;
     char *comment = NULL;
-    int comment_file = NULL;
+    int comment_file = 0;
     struct dump_dir *dd = NULL;
     struct options program_options[] = {
         OPT__VERBOSE(&g_verbose),
-- 
2.1.0