Fix warnings generated by clang 3.0
commit57162eb084ee80c2f024663c1bfc10c82bb83b20
authorAndrew Nayenko <resver@gmail.com>
Sun, 24 Feb 2013 19:08:40 +0000 (24 23:08 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sun, 24 Feb 2013 21:08:00 +0000 (25 01:08 +0400)
tree13511543dfe0d3daad1a4d30130e76700fac5975
parent842512c527160f79a4d9b70318143a43d673c043
Fix warnings generated by clang 3.0

Fix warnings like this:

output/outelf32.c:2120:33: warning: equality comparison with extraneous
      parentheses [-Wparentheses-equality]
            if ((match->section == index)) {
                 ~~~~~~~~~~~~~~~^~~~~~~~
output/outelf32.c:2120:33: note: remove extraneous parentheses around the
      comparison to silence this warning
            if ((match->section == index)) {
                ~               ^       ~
output/outelf32.c:2120:33: note: use '=' to turn this equality comparison into
      an assignment
            if ((match->section == index)) {
                                ^~
                                =
1 warning generated.

Signed-off-by: Andrew Nayenko <resver@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outelf32.c
output/outelf64.c
output/outelfx32.c