Remove unneeded disabled warnings for MSVC

This commit is contained in:
gingerBill
2018-02-25 12:29:48 +00:00
parent 3b5932699c
commit 1cd453db14
4 changed files with 8 additions and 25 deletions

View File

@@ -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: