From aee76f659cb1d9d9e2b14e5275bcd5469274807b Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 8 Jul 2010 14:11:31 +0200 Subject: Fixed compiler warning: loop could be used uninitialised --- eurephiadm/client_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eurephiadm') diff --git a/eurephiadm/client_session.c b/eurephiadm/client_session.c index 7abad95..31e761b 100644 --- a/eurephiadm/client_session.c +++ b/eurephiadm/client_session.c @@ -156,7 +156,7 @@ void remove_session_file(eurephiaCTX *ctx) { */ eurephiaSESSION *create_session(eurephiaCTX *ctx, const char *sesskey) { eurephiaSESSION *new_sess = NULL; - int loop, uniqchk; + int loop = 0, uniqchk = 0; char *randdata = NULL; unsigned char sha_res[SHA512_HASH_SIZE+2]; SHA512Context sha; -- cgit