Silence gcc 4.3 warning by adding parens around && clause near ||.
This commit is contained in:
parent
0926f5f30f
commit
c20311777f
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ void replay::undo()
|
|||
// even if not marked explicitely with undo=no.
|
||||
//! @todo Change undo= to default to "no" and explicitely mark all
|
||||
//! undoable commands with yes.
|
||||
while(cmd.first != cmd.second && (**(cmd.second-1))["undo"] == "no"
|
||||
while((cmd.first != cmd.second && (**(cmd.second-1))["undo"] == "no")
|
||||
|| (**(cmd.second-1))["async"] == "yes"
|
||||
|| (**(cmd.second-1))["sent"] == "yes")
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue