From 3a5dcd3c50b456c4d85281ec7a0972201e2f9426 Mon Sep 17 00:00:00 2001 From: Ondrej Kos Date: Tue, 19 Feb 2013 14:25:27 +0100 Subject: Fix uninitialized time_t var in responder https://fedorahosted.org/sssd/ticket/1810 --- src/responder/common/responder_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/responder') diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index c7aead3e..3bb7b602 100644 --- a/src/responder/common/responder_common.c +++ b/src/responder/common/responder_common.c @@ -889,7 +889,7 @@ responder_get_domain(TALLOC_CTX *sd_mem_ctx, struct resp_ctx *rctx, const char *name) { time_t now = time(NULL); - time_t time_diff; + time_t time_diff = 0; struct sss_domain_info *dom; struct sss_domain_info *ret_dom = NULL; -- cgit