From cc4c8fd6cf06a0a305f899f29434a0b492ead0c8 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 31 Jul 2016 21:59:29 +0200 Subject: [PATCH] FIX: getting rid of a compiler warning message. --- client/cmdhflegic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index ec870b90..ccdfa1da 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -567,7 +567,7 @@ int CmdLegicRfFill(const char *Cmd) { int CmdLegicCalcCrc8(const char *Cmd){ - uint8_t *data; + uint8_t *data = NULL; uint8_t cmdp = 0, uidcrc = 0, type=0; bool errors = false; int len = 0; -- 2.39.5