fix: annotated output for size-prefixed binaries (#8976)
diff --git a/src/binary_annotator.cpp b/src/binary_annotator.cpp
index 1e1668c..98a8648 100644
--- a/src/binary_annotator.cpp
+++ b/src/binary_annotator.cpp
@@ -126,9 +126,7 @@
 std::map<uint64_t, BinarySection> BinaryAnnotator::Annotate() {
   if (bfbs_ != nullptr && bfbs_length_ != 0) {
     flatbuffers::Verifier verifier(bfbs_, static_cast<size_t>(bfbs_length_));
-    if ((is_size_prefixed_ &&
-         !reflection::VerifySizePrefixedSchemaBuffer(verifier)) ||
-        !reflection::VerifySchemaBuffer(verifier)) {
+    if (!reflection::VerifySchemaBuffer(verifier)) {
       return {};
     }
   }