From 089f91dc9da296f3dfcd95d01553e5ad7fcff99f Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 13 Jan 2016 13:15:34 +0100 Subject: [PATCH 1/1] FIX: GCC 4.8 complains the pointer is set before its used in a call to free(). Doesn't complain on Mingw, only Ubuntu.15.10 --- client/cmdlft55xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdlft55xx.c b/client/cmdlft55xx.c index 10461754..e10b24d0 100644 --- a/client/cmdlft55xx.c +++ b/client/cmdlft55xx.c @@ -1378,7 +1378,7 @@ int CmdT55xxBruteForce(const char *Cmd) { char filename[FILE_PATH_SIZE]={0}; int keycnt = 0; uint8_t stKeyBlock = 20; - uint8_t *keyBlock = NULL, *p; + uint8_t *keyBlock = NULL, *p = NULL; keyBlock = calloc(stKeyBlock, 6); if (keyBlock == NULL) return 1; -- 2.39.5