Skip to content

Commit

Permalink
Suppress warning message regarding boolean operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
johncbowman committed Jan 17, 2024
1 parent 8652763 commit dd4b63c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions env.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ class protoenv {
bool add(symbol src, symbol dest,
protoenv &source, varEntry *qualifier, coder &c)
{
return te.add(src, dest, source.te, qualifier, c) |
ve.add(src, dest, source.ve, qualifier, c);
bool teAdd=te.add(src, dest, source.te, qualifier, c);
bool veAdd=ve.add(src, dest, source.ve, qualifier, c);
return teAdd || veAdd;
}

// Add the standard functions for a new type.
Expand Down

0 comments on commit dd4b63c

Please sign in to comment.