diff options
| author | gingerBill <bill@gingerbill.org> | 2018-02-25 12:29:48 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-02-25 12:29:48 +0000 |
| commit | 1cd453db14c80988a7cd29bbc9ea1f70e45ad513 (patch) | |
| tree | 0973ed0df422a1ef8c6b4018a70a1b8e59385f9e /src/exact_value.cpp | |
| parent | 3b5932699cce49504fc555d32f944de48d30dd35 (diff) | |
Remove unneeded disabled warnings for MSVC
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: |