summaryrefslogtreecommitdiff
path: root/decoders/adns5020/__init__.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-05-16 00:21:56 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-05-16 12:17:42 +0200
commit2d661bcb259dedee1857e90749418ce72f571ba6 (patch)
treef8db6bc6e2d25ee2a8101ebd88b59905400cb8ab /decoders/adns5020/__init__.py
parent60d4764a9c699d0b4aca656831a4d8d09568b659 (diff)
downloadlibsigrokdecode-2d661bcb259dedee1857e90749418ce72f571ba6.tar.gz
libsigrokdecode-2d661bcb259dedee1857e90749418ce72f571ba6.zip
decoder.c: Fix a scan-build warning.
decoder.c:343:9: warning: Access to field 'ob_type' results in a dereference of a null pointer (loaded from variable 'py_default') if (Py_TYPE(py_default) != Py_TYPE(py_item)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.6m/object.h:118:33: note: expanded from macro 'Py_TYPE' #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'decoders/adns5020/__init__.py')
0 files changed, 0 insertions, 0 deletions