]> sigrok.org Git - libsigrok.git/commit
hameg-hmo: fix several compiler warnings (assignments, memory)
authorGerhard Sittig <redacted>
Fri, 9 Feb 2018 17:57:49 +0000 (18:57 +0100)
committerUwe Hermann <redacted>
Fri, 9 Feb 2018 20:37:39 +0000 (21:37 +0100)
commitb0e80e9aa9a7398fa01a7949deb17640ca3c7d47
tree2314136292e6f7b3f6f3aba2076562184bc75827
parent56e9672b118860303bc072c6d5815834d5ce63fc
hameg-hmo: fix several compiler warnings (assignments, memory)

Silence warnings about assigned values that never get used, potential
NULL deference, and potential memory leaks.

This was reported by clang's scan-build.
src/hardware/hameg-hmo/api.c
src/hardware/hameg-hmo/protocol.c