]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
removed unused variable 178/head
authorAndrás Veres-Szentkirályi <vsza@vsza.hu>
Tue, 10 May 2016 08:33:30 +0000 (10:33 +0200)
committerAndrás Veres-Szentkirályi <vsza@vsza.hu>
Tue, 10 May 2016 08:33:30 +0000 (10:33 +0200)
client/cmdlf.c

index 93a1398d7d76d85944179fdd711ffa9676767235..34e0c1c765c0ff8260162295c8952a5e153245e9 100644 (file)
@@ -62,7 +62,6 @@ int CmdLFCommandRead(const char *Cmd)
        bool errors = FALSE;
        //uint8_t divisor = 95; //125khz
        uint8_t cmdp = 0;
        bool errors = FALSE;
        //uint8_t divisor = 95; //125khz
        uint8_t cmdp = 0;
-       int strLength = 0;
        while(param_getchar(Cmd, cmdp) != 0x00)
        {
                switch(param_getchar(Cmd, cmdp))
        while(param_getchar(Cmd, cmdp) != 0x00)
        {
                switch(param_getchar(Cmd, cmdp))
@@ -78,7 +77,7 @@ int CmdLFCommandRead(const char *Cmd)
                        cmdp++;
                        break;
                case 'c':
                        cmdp++;
                        break;
                case 'c':
-                       strLength = param_getstr(Cmd, cmdp+1, (char *)&c.d.asBytes);
+                       param_getstr(Cmd, cmdp+1, (char *)&c.d.asBytes);
                        cmdp+=2;
                        break;
                case 'd':
                        cmdp+=2;
                        break;
                case 'd':
Impressum, Datenschutz