]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fix warning under linux (#709)
authorOleg Moiseenko <807634+merlokk@users.noreply.github.com>
Wed, 31 Oct 2018 18:47:37 +0000 (20:47 +0200)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Wed, 31 Oct 2018 18:47:37 +0000 (19:47 +0100)
armsrc/iso15693.c

index 504323922ff5ac8b413fa79c2122c09492b7c6d8..04f4382524a13abf69b5919ba9be28761e583757 100644 (file)
@@ -862,7 +862,7 @@ static int GetIso15693CommandFromReader(uint8_t *received, size_t max_len, uint3
        uint8_t dmaBuf[ISO15693_DMA_BUFFER_SIZE];
 
        // the decoder data structure
        uint8_t dmaBuf[ISO15693_DMA_BUFFER_SIZE];
 
        // the decoder data structure
-       DecodeReader_t DecodeReader;
+       DecodeReader_t DecodeReader = {0};
        DecodeReaderInit(received, max_len, &DecodeReader);
 
        // wait for last transfer to complete
        DecodeReaderInit(received, max_len, &DecodeReader);
 
        // wait for last transfer to complete
Impressum, Datenschutz