]> sigrok.org Git - libsigrokdecode.git/commit
instance.c: Fix a compiler warning.
authorUwe Hermann <redacted>
Tue, 7 Feb 2017 09:40:29 +0000 (10:40 +0100)
committerUwe Hermann <redacted>
Mon, 20 Feb 2017 15:28:27 +0000 (16:28 +0100)
commit9bac00e0b211579935640bb4d6fed988d2d148c4
tree0742f4dc82b92f58b3d9dcca0644edd518257d4d
parent79d0013e85ca5ee5086ece1528b4403777a01f96
instance.c: Fix a compiler warning.

  ../instance.c: In function ‘srd_inst_find_by_id’:
  ../instance.c:485:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if (di = srd_inst_find_by_id_stack(inst_id, tmp))
     ^~
instance.c