]> sigrok.org Git - libsigrok.git/commit
sysclk-lwla: silence potential NULL dereference compiler warning
authorGerhard Sittig <redacted>
Fri, 9 Feb 2018 18:30:00 +0000 (19:30 +0100)
committerUwe Hermann <redacted>
Fri, 9 Feb 2018 20:37:40 +0000 (21:37 +0100)
commitaedbf89d85cc7efa1263f5e210c3b78097ad471a
tree97cc08cfd4b0cf17a648c3aba667a178b9cb9630
parent08eba2d30167ec3f6ec12ac8c4f5d256f8b20f33
sysclk-lwla: silence potential NULL dereference compiler warning

Check pointers' validity before dereferencing them.

This was reported by clang's scan-build.
src/hardware/sysclk-lwla/api.c