Blame SOURCES/0015-ipa_subdomains_handler_master_done-initialize-reply_.patch

905b4d
From cb7813503506729a5595e23c575619bd89250dfd Mon Sep 17 00:00:00 2001
905b4d
From: Sumit Bose <sbose@redhat.com>
905b4d
Date: Tue, 14 Oct 2014 16:52:04 +0200
905b4d
Subject: [PATCH 15/22] ipa_subdomains_handler_master_done: initialize
905b4d
 reply_count
905b4d
905b4d
This patch should mainly silence a false-positive Coverity warning but
905b4d
since further processing depends on this variable I think it is a good
905b4d
idea anyways.
905b4d
905b4d
Reviewed-by: Pavel Reichl <preichl@redhat.com>
905b4d
---
905b4d
 src/providers/ipa/ipa_subdomains.c | 2 +-
905b4d
 1 file changed, 1 insertion(+), 1 deletion(-)
905b4d
905b4d
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
905b4d
index eb172fdfc05ac4e482174f01d89ad28db1498fc1..c61c1c666908ec23f8a92e5568222e55ec47be0a 100644
905b4d
--- a/src/providers/ipa/ipa_subdomains.c
905b4d
+++ b/src/providers/ipa/ipa_subdomains.c
905b4d
@@ -1276,7 +1276,7 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req)
905b4d
 {
905b4d
     errno_t ret;
905b4d
     int dp_error = DP_ERR_FATAL;
905b4d
-    size_t reply_count;
905b4d
+    size_t reply_count = 0;
905b4d
     struct sysdb_attrs **reply = NULL;
905b4d
     struct ipa_subdomains_req_ctx *ctx;
905b4d
 
905b4d
-- 
905b4d
1.9.3
905b4d