From: izsh@fail0verflow.com Date: Tue, 23 Feb 2010 20:52:50 +0000 (+0000) Subject: client/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4 X-Git-Tag: v1.0.0~329 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/913d23c661c72190c7f16e3cb42264fda76c089c?ds=inline;hp=ba06a4b694da23045ed75d18ccf77a9befac65c0 client/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4 --- diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index fea4bd29..8bb4d109 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -281,6 +281,7 @@ int CmdEM4x50Read(const char *Cmd) high= low= 0; clock= 64; + memset(tmpbuff, 0, MAX_GRAPH_TRACE_LEN / 64); /* first get high and low values */ for (i = 0; i < GraphTraceLen; i++)