aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/asmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/asmap.cpp b/src/util/asmap.cpp
index 5f3f53c393..f24a382d6e 100644
--- a/src/util/asmap.cpp
+++ b/src/util/asmap.cpp
@@ -116,7 +116,7 @@ uint32_t Interpret(const std::vector<bool> &asmap, const std::vector<bool> &ip)
break; // Instruction straddles EOF
}
}
- // Reached EOF without RETURN, or aborted (see any of the breaks above).
+ assert(false); // Reached EOF without RETURN, or aborted (see any of the breaks above) - should have been caught by SanityCheckASMap below
return 0; // 0 is not a valid ASN
}