fix(kernel/expr): warning when compiling using clang on OSX
This commit is contained in:
parent
f482e09cc2
commit
d5d8ac8b44
1 changed files with 2 additions and 2 deletions
|
@ -322,9 +322,9 @@ inline expr cache(expr const & e) {
|
|||
return e;
|
||||
}
|
||||
bool enable_expr_caching(bool f) {
|
||||
bool r1 = enable_level_caching(f);
|
||||
DEBUG_CODE(bool r1 =) enable_level_caching(f);
|
||||
bool r2 = g_expr_cache_enabled;
|
||||
lean_verify(r1 == r2);
|
||||
lean_assert(r1 == r2);
|
||||
expr_cache new_cache;
|
||||
get_expr_cache().swap(new_cache);
|
||||
if (f) {
|
||||
|
|
Loading…
Reference in a new issue