zeromq / ingescape

Model-based framework for broker-free distributed software environments. Any language, any OS, web, cloud.
Other
61 stars 14 forks source link

Problem: GCC raises warnings about binary operator used to compare boolean values #9

Closed Mathsoum closed 2 years ago

Mathsoum commented 2 years ago

Compilation under Linux with GCC raises warnings in igs_parser.c. The warnings should be fixed.

Solution: Use boolean operator && instead of binary operator & to compare boolean values.
I also realigned some multi-line statements I came across, without being exhaustive.