fix warnings: using the result of an assignment as a condition without parentheses...
authorGiel van Schijndel <me@mortis.eu>
Fri, 24 Jun 2011 18:03:16 +0000 (20:03 +0200)
committerGiel van Schijndel <me@mortis.eu>
Wed, 13 Jul 2011 03:07:44 +0000 (05:07 +0200)
commitf85c0974492d9c779d45112fc943f0dbe0b95cda
tree1644cfbf0714d3afa1f9822aadc6b92fd097b8a4
parentecf1c79aada222ccbf93b0f15d98339431d1a881
fix warnings: using the result of an assignment as a condition without parentheses [-Wparentheses]

Don't unnecessarily assign to variables within the *boolean* expression
of a conditional.

Signed-off-by: Giel van Schijndel <me@mortis.eu>
src/util.cpp