diff options
| author | gingerBill <bill@gingerbill.org> | 2018-06-15 21:38:22 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-06-15 21:38:22 +0100 |
| commit | b92a8c513ea04ce2c4e6245d047d47ece0b75fa2 (patch) | |
| tree | d83cb7ef2d6e0c202d64d086bfafad7db907ef35 /src/check_stmt.cpp | |
| parent | 13572aeef0001f4c82f68468a530f63411e7c319 (diff) | |
Modify how build settings are handled
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index c9a1ad4d8..d88a9e810 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -956,10 +956,6 @@ void check_type_switch_stmt(CheckerContext *ctx, AstNode *node, u32 mod_flags) { if (!tag_type_found) { gbString type_str = type_to_string(y.type); error(y.expr, "Unknown variant type, got '%s'", type_str); - for_array(j, bt->Union.variants) { - Type *vt = base_type(bt->Union.variants[j]); - gb_printf_err("\t%s\n", type_to_string(vt)); - } gb_string_free(type_str); continue; } |