diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/binary-reader.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc index 7f195356..217253f5 100644 --- a/src/binary-reader.cc +++ b/src/binary-reader.cc @@ -2086,6 +2086,10 @@ Result BinaryReader::ReadImportSection(Offset section_size) { num_event_imports_++; break; } + + default: + PrintError("malformed import kind: %d", kind); + return Result::Error; } } |