Fix 'parentheses around assignment used as truth value' warnings

Bug #1849621 reported by أحمد المحمودي (Ahmed El-Mahmoudy)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
Undecided
Unassigned

Bug Description

The attached patch fixes 'parentheses around assignment used as truth value' warnings in some xorn tests

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :
Revision history for this message
Roland Lutz (rlutz) wrote :

Thank you.

It would be helpful if you could generate future diffs with `git format-patch', e.g.:

  git format-patch HEAD^

This way, the diff is already in the format `git am' expects.

Also, it is common to reference the bug number with "Closes-bug: lp-1849621" at the end of the commit message, separated by an empty line (see commit be34592 for an example).

Which warning options do you use, BTW? I can't seem to get these warnings even with `-Wall -Wextra'.

fixed in 9ccf689d4d2ef5f164f650a4e1ff360cb1a80e1e
(branch `xorn', awaits merge)

Changed in geda:
status: New → Fix Committed
Revision history for this message
Roland Lutz (rlutz) wrote :

fixed in gEDA/gaf 1.10.1

Changed in geda:
milestone: none → 1.10.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.