diff --git a/src/acl.cpp b/src/acl.cpp index b3e6f408a..7f8ab74bd 100644 --- a/src/acl.cpp +++ b/src/acl.cpp @@ -383,7 +383,7 @@ int ACLUserCanExecuteFutureCommands(user *u) { * zero, the user flag ALLCOMMANDS is cleared since it is no longer possible * to skip the command bit explicit test. */ void ACLSetUserCommandBit(user *u, unsigned long id, int value) { - uint64_t word, bit; + uint64_t word=0, bit=0; if (ACLGetCommandBitCoordinates(id,&word,&bit) == C_ERR) return; if (value) { u->allowed_commands[word] |= bit;