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

This commit is contained in:
iceman1001 2016-01-13 13:15:34 +01:00
parent 40a532d97d
commit 089f91dc9d

View file

@ -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;