• Philippe Teuwen's avatar
    Fix warning Function call argument is an uninitialized value · 18fe3304
    Philippe Teuwen authored
    acr122_usb.c:237:3: warning: Function call argument is an uninitialized value
      LOG_HEX(NFC_LOG_GROUP_COM, "TX", abtTx, szTx);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../libnfc/log.h:107:7: note: expanded from macro 'LOG_HEX'
          snprintf (__acBuf + __szBuf, sizeof(__acBuf) - __szBuf, "%02x ",((uint8_t *)(pbtData))[__szPos]); \
          ^                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Maybe a side effect of the #pragma pack not properly understood by the static analyser
    but anyway acr122_usb_frame_template is also used the same way to initialize the other frames
    18fe3304
Name
Last commit
Last update
cmake Loading commit data...
contrib Loading commit data...
debian Loading commit data...
examples Loading commit data...
include Loading commit data...
libnfc Loading commit data...
m4 Loading commit data...
test Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Doxyfile.in Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README-Windows.txt Loading commit data...
configure.ac Loading commit data...
libnfc.conf.sample Loading commit data...
libnfc.pc.in Loading commit data...
make_release.sh Loading commit data...
manual-test-results.txt Loading commit data...
mingw-cross-configure.sh Loading commit data...