3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-20 03:12:03 +00:00

Merge pull request #1486 from waywardmonkeys/modernize-use-bool-literals

Use bool literal `false` instead of `0`.
This commit is contained in:
Nikolaj Bjorner 2018-02-13 08:13:42 -08:00 committed by GitHub
commit 582f859d52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ bool fpa_decl_plugin::is_rm_numeral(expr * n, mpf_rounding_mode & val) {
return true; return true;
} }
return 0; return false;
} }
bool fpa_decl_plugin::is_rm_numeral(expr * n) { bool fpa_decl_plugin::is_rm_numeral(expr * n) {

View file

@ -449,7 +449,7 @@ public:
INSERT_LOOP_CORE_BODY(); INSERT_LOOP_CORE_BODY();
} }
UNREACHABLE(); UNREACHABLE();
return 0; return false;
} }
bool insert_if_not_there_core(const data & e, entry * & et) { bool insert_if_not_there_core(const data & e, entry * & et) {