Add assertion to satisfy clang static analyzer
Add assertion to satisfy clang static analyzer

Co-Authored-By: Rick Winfrey <56990caa3e892a4d1729cc14f586d7f992a6ae28@github.com>

tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter