From 1a565ae953583fe5a45149cee3a28174e9a52883 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 5 Apr 2019 07:39:07 +0200 Subject: [PATCH] fix uninitialised --- client/scripting.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/scripting.c b/client/scripting.c index f3afb18d4..cf9b5c590 100644 --- a/client/scripting.c +++ b/client/scripting.c @@ -785,8 +785,7 @@ static int l_T55xx_readblock(lua_State *L) { // arg 2 = use GB static int l_T55xx_detect(lua_State *L) { bool useGB = false, usepwd = false, isok; - uint32_t password; - uint32_t gb; + uint32_t gb, password = 0; size_t size; //Check number of arguments