summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-10-14 16:52:04 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-22 12:51:20 +0200
commitf99534c058e9367d2610de89b1af4dcc1ec63035 (patch)
tree8cd523759ca74ebbacfaab93e2ca0b428ad53f30
parent482914ed19e46146b3dd567fd0ce0faccd097e9d (diff)
downloadsssd-f99534c058e9367d2610de89b1af4dcc1ec63035.tar.gz
sssd-f99534c058e9367d2610de89b1af4dcc1ec63035.tar.xz
sssd-f99534c058e9367d2610de89b1af4dcc1ec63035.zip
ipa_subdomains_handler_master_done: initialize reply_count
This patch should mainly silence a false-positive Coverity warning but since further processing depends on this variable I think it is a good idea anyways. Reviewed-by: Pavel Reichl <preichl@redhat.com>
-rw-r--r--src/providers/ipa/ipa_subdomains.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index eb172fdfc..c61c1c666 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -1276,7 +1276,7 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req)
{
errno_t ret;
int dp_error = DP_ERR_FATAL;
- size_t reply_count;
+ size_t reply_count = 0;
struct sysdb_attrs **reply = NULL;
struct ipa_subdomains_req_ctx *ctx;