HomePhabricator

fix warnings: using the result of an assignment as a condition without…
f85c0974492dUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

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>

Details

Provenance
Giel van Schijndel <me@mortis.eu>Authored on Jun 24 2011, 18:03
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGecf1c79aada2: fix warnings: expression result unused [-Wunused-value]
Branches
Unknown
Tags
Unknown

Event Timeline