X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuser_ops.c;h=13e8db773c040a51bbc0c0abf675b325bee75a76;hb=4b8b30907f4e0b465de8655c200aa1e38e60dd23;hp=9637c14c99654cbef94792f0ae467999be023a14;hpb=f1168f7a453d9ef2a556dbff86dd76231ea2b52b;p=citadel.git diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 9637c14c9..13e8db773 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -166,7 +166,7 @@ int GenerateRelationshipIndex(char *IndexBuf, void put_visit(struct visit *newvisit) { char IndexBuf[32]; - int IndexLen; + int IndexLen = 0; /* Generate an index */ IndexLen = GenerateRelationshipIndex(IndexBuf, @@ -462,7 +462,7 @@ void cmd_user(char *cmdbuf) */ void session_startup(void) { - int i; + int i = 0; lprintf(CTDL_NOTICE, "<%s> logged in\n", CC->curr_user);