]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: coverity scan error CID 121781, unused value. error 0x88 will be overritten...
authoriceman1001 <iceman@iuse.se>
Thu, 19 Jan 2017 19:21:21 +0000 (20:21 +0100)
committericeman1001 <iceman@iuse.se>
Thu, 19 Jan 2017 19:21:21 +0000 (20:21 +0100)
armsrc/iclass.c

index 8019479e55a6b5d802289c7caeea66f190ca70e6..01693dcad4c0d6979068a1347c039f17885b43ca 100644 (file)
@@ -425,6 +425,7 @@ static RAMFUNC int ManchesterDecoding(int v)
                                if(!(Demod.buffer2 & Demod.syncBit) || !(Demod.buffer3 & Demod.syncBit)) {
                                        Demod.state = DEMOD_UNSYNCD;
                                        error = 0x88;
+                                       return FALSE;
                                }
                                
                                // TODO: use this error value to print?  Ask Holiman.
Impressum, Datenschutz