]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
client/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4
authorizsh@fail0verflow.com <izsh@fail0verflow.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 23 Feb 2010 20:52:50 +0000 (20:52 +0000)
committerizsh@fail0verflow.com <izsh@fail0verflow.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 23 Feb 2010 20:52:50 +0000 (20:52 +0000)
client/cmdlfem4x.c

index fea4bd2960409118d222f5127a697d1010449b2f..8bb4d1091e08ed3ea463a02796d12aa66da1f1a4 100644 (file)
@@ -281,6 +281,7 @@ int CmdEM4x50Read(const char *Cmd)
 
   high= low= 0;
   clock= 64;
 
   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++)
 
   /* first get high and low values */
   for (i = 0; i < GraphTraceLen; i++)
Impressum, Datenschutz