]> sigrok.org Git - libsigrok.git/commit - hardware/gmc-mh-1x-2x/protocol.c
gmc-mh-1x-2x: Fix compiler warning (clang).
authorUwe Hermann <redacted>
Tue, 31 Dec 2013 18:21:04 +0000 (19:21 +0100)
committerUwe Hermann <redacted>
Tue, 31 Dec 2013 18:21:04 +0000 (19:21 +0100)
commit42f2f8a533e33ab77e737fbd880ef6e06bdb2b93
treec15ae4bcb45bdf188c3acdc07ba1170013d060c1
parent35b904a7924472522b1675427e9a630c2189a94f
gmc-mh-1x-2x: Fix compiler warning (clang).

  CC       libsigrok_hw_gmc_mh_1x_2x_la-protocol.lo
protocol.c:133:32: warning: equality comparison with extraneous
parentheses
      [-Wparentheses-equality]
                        } else if ((devc->scale1000 == 2)) {
                                    ~~~~~~~~~~~~~~~~^~~~
protocol.c:133:32: note: remove extraneous parentheses around the
comparison to
      silence this warning
                        } else if ((devc->scale1000 == 2)) {
                                   ~                ^   ~
hardware/gmc-mh-1x-2x/protocol.c