Break early on error

This commit is contained in:
Daniel Walder 2017-03-30 20:45:36 +10:00
parent 83ed516ca3
commit c9af27b536
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ namespace Kaitai
if (bytes[i] != expected[i])
{
error = true;
break;
}
}
}