From: marshmellow42 <marshmellowrf@gmail.com>
Date: Sat, 11 Jul 2015 04:35:27 +0000 (-0400)
Subject: initialize global variables.
X-Git-Tag: v2.3.0~33^2~2
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/b362de62621f17b297f08bd53082b3aea45219e6?ds=sidebyside;hp=--cc

initialize global variables.
---

b362de62621f17b297f08bd53082b3aea45219e6
diff --git a/client/cmddata.c b/client/cmddata.c
index bf10a6ec..cb1c7cd4 100644
--- a/client/cmddata.c
+++ b/client/cmddata.c
@@ -26,8 +26,8 @@
 #include "crc16.h"
 
 uint8_t DemodBuffer[MAX_DEMOD_BUF_LEN];
-uint8_t g_debugMode;
-size_t DemodBufferLen;
+uint8_t g_debugMode=0;
+size_t DemodBufferLen=0;
 static int CmdHelp(const char *Cmd);
 
 //set the demod buffer with given array of binary (one bit per byte)