summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-12-08 11:14:21 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-08 12:30:02 -0500
commite696bf78c266fcb9653614d6e314c63b68a10963 (patch)
treef8c20016dc620b71b524bc1f3d232c12a94509fe /server
parent98fe151be09eb4be295f46d8a4e68feea6e9fcd6 (diff)
downloadsssd-e696bf78c266fcb9653614d6e314c63b68a10963.tar.gz
sssd-e696bf78c266fcb9653614d6e314c63b68a10963.tar.bz2
sssd-e696bf78c266fcb9653614d6e314c63b68a10963.zip
Fix potential uninitialized value errors in nsssrv_cmd.c
Diffstat (limited to 'server')
-rw-r--r--server/responder/nss/nsssrv_cmd.c3
1 files changed, 2 insertions, 1 deletions
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;