diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-05-25 13:26:11 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-05-25 13:26:11 -0700 |
commit | 63139d901c0d4150e9d2861e8bbb8ed139d14b06 (patch) | |
tree | 314995eae9d68a09b793043761f5419975061ac9 | |
parent | 9531333e7ff6381e51e902d90e8ebc3e2bbb2208 (diff) | |
download | mu-63139d901c0d4150e9d2861e8bbb8ed139d14b06.tar.gz |
4249
Why do we have this silent null check? All tests pass without it.
-rw-r--r-- | 035lookup.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/035lookup.cc b/035lookup.cc index 7247b6a7..650b8549 100644 --- a/035lookup.cc +++ b/035lookup.cc @@ -82,7 +82,6 @@ void lookup_memory(reagent& x) { } void lookup_memory_core(reagent& x, bool check_for_null) { - if (x.value == 0) return; trace("mem") << "location " << x.value << " is " << no_scientific(get_or_insert(Memory, x.value)) << end(); x.set_value(get_or_insert(Memory, x.value)); if (check_for_null && x.value == 0) { |