Blame 0042-ureport-correct-variable-initializations.patch

15a3e99
From f68f48520a1fb3af37bfacd0bdb5c7c6824f6452 Mon Sep 17 00:00:00 2001
15a3e99
From: Jakub Filak <jfilak@redhat.com>
15a3e99
Date: Wed, 14 Jan 2015 13:50:55 +0100
15a3e99
Subject: [PATCH] ureport: correct variable initializations
15a3e99
15a3e99
Signed-off-by: Jakub Filak <jfilak@redhat.com>
15a3e99
---
15a3e99
 src/plugins/reporter-ureport.c | 8 ++++----
15a3e99
 1 file changed, 4 insertions(+), 4 deletions(-)
15a3e99
15a3e99
diff --git a/src/plugins/reporter-ureport.c b/src/plugins/reporter-ureport.c
15a3e99
index e8c1ed5..cc3c59a 100644
15a3e99
--- a/src/plugins/reporter-ureport.c
15a3e99
+++ b/src/plugins/reporter-ureport.c
15a3e99
@@ -54,13 +54,13 @@ int main(int argc, char **argv)
15a3e99
     GList *auth_items = NULL;
15a3e99
     const char *dump_dir_path = ".";
15a3e99
     const char *ureport_hash = NULL;
15a3e99
-    bool ureport_hash_from_rt = false;
15a3e99
+    int ureport_hash_from_rt = 0;
15a3e99
     int rhbz_bug = -1;
15a3e99
-    int rhbz_bug_from_rt = false;
15a3e99
+    int rhbz_bug_from_rt = 0;
15a3e99
     const char *email_address = NULL;
15a3e99
-    int email_address_from_env = false;
15a3e99
+    int email_address_from_env = 0;
15a3e99
     char *comment = NULL;
15a3e99
-    int comment_file = NULL;
15a3e99
+    int comment_file = 0;
15a3e99
     struct dump_dir *dd = NULL;
15a3e99
     struct options program_options[] = {
15a3e99
         OPT__VERBOSE(&g_verbose),
15a3e99
-- 
15a3e99
2.1.0
15a3e99