From e696bf78c266fcb9653614d6e314c63b68a10963 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 8 Dec 2009 11:14:21 -0500 Subject: Fix potential uninitialized value errors in nsssrv_cmd.c --- server/responder/nss/nsssrv_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/responder/nss/nsssrv_cmd.c b/server/responder/nss/nsssrv_cmd.c index 88240a39..ce59271f 100644 --- a/server/responder/nss/nsssrv_cmd.c +++ b/server/responder/nss/nsssrv_cmd.c @@ -1481,7 +1481,8 @@ static int fill_grent(struct sss_packet *packet, size_t delim; size_t dom_len; size_t pwlen; - int i, j; + int i = 0; + int j = 0; int ret, num, memnum; size_t rzero, rsize; bool add_domain = dom->fqnames; -- cgit