diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-07-08 14:11:31 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-07-30 11:02:56 +0200 |
commit | aee76f659cb1d9d9e2b14e5275bcd5469274807b (patch) | |
tree | 889c2796962c8a3ebe1d2e4e501728f024c3a983 /eurephiadm | |
parent | 6e3665b47795dc26a1623db75d4753c80fa748b3 (diff) | |
download | eurephia-aee76f659cb1d9d9e2b14e5275bcd5469274807b.tar.gz eurephia-aee76f659cb1d9d9e2b14e5275bcd5469274807b.tar.xz eurephia-aee76f659cb1d9d9e2b14e5275bcd5469274807b.zip |
Fixed compiler warning: loop could be used uninitialised
Diffstat (limited to 'eurephiadm')
-rw-r--r-- | eurephiadm/client_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |