]> sigrok.org Git - libsigrokdecode.git/commit
instance.c: Fix a scan-build warning.
authorUwe Hermann <redacted>
Tue, 15 May 2018 22:24:56 +0000 (00:24 +0200)
committerUwe Hermann <redacted>
Wed, 16 May 2018 10:17:42 +0000 (12:17 +0200)
commit8f14effc02e20fe562f1081b8155e7fb93b22dcf
tree2a59f9936341f8e06157f3b06cde5bfece587c1c
parent2d661bcb259dedee1857e90749418ce72f571ba6
instance.c: Fix a scan-build warning.

  instance.c:278:25: warning: The left operand of '!=' is a garbage value
                  if (new_channelmap[i] != -1)
                      ~~~~~~~~~~~~~~~~~ ^
instance.c