diff options
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp index ed181b9d0..c9ae402e0 100644 --- a/src/exact_value.cpp +++ b/src/exact_value.cpp @@ -46,9 +46,10 @@ struct ExactValue { gb_global ExactValue const empty_exact_value = {}; HashKey hash_exact_value(ExactValue v) { + HashKey empty = {}; switch (v.kind) { case ExactValue_Invalid: - return HashKey{}; + return empty; case ExactValue_Bool: return hash_integer(u64(v.value_bool)); case ExactValue_String: |