fix some implicit promotion from bool, as suggested by PVS-Studio
For #192. * spot/parseaut/parseaut.yy, spot/parseaut/scanaut.ll, spot/tl/randomltl.cc, spot/twa/acc.cc, spot/twaalgos/postproc.hh: Here.
This commit is contained in:
parent
630e90b9cc
commit
279bfa00bd
5 changed files with 13 additions and 13 deletions
|
|
@ -425,7 +425,7 @@ namespace spot
|
|||
YY_NEW_FILE;
|
||||
hoayyreset();
|
||||
if (want_interactive)
|
||||
yy_set_interactive(true);
|
||||
yy_set_interactive(1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -461,7 +461,7 @@ namespace spot
|
|||
YY_NEW_FILE;
|
||||
hoayyreset();
|
||||
if (want_interactive)
|
||||
yy_set_interactive(true);
|
||||
yy_set_interactive(1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue