]> sigrok.org Git - libsigrok.git/commitdiff
modbus: silence a build warning
authorWolfram Sang <redacted>
Tue, 29 Dec 2015 11:45:07 +0000 (12:45 +0100)
committerUwe Hermann <redacted>
Tue, 29 Dec 2015 12:19:36 +0000 (13:19 +0100)
Refactor handling the size of modbus_devs, so it doesn't produce a build
warning and still allows the compiler to remove unused code.

This fixes bug #637. It could be reverted once modbus_devs
unconditionally has a member in the struct.

Signed-off-by: Wolfram Sang <redacted>

No differences found