remove branch condition that could never be false

fuzzer gets 100% branch coverage now, no crashes/hangs
This commit is contained in:
Alex Baines 2021-04-07 18:50:35 +01:00
parent 1d916415c1
commit e4c2ae4ffa
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ static size_t _hmml_parse_text(struct _hmml_parser* p, HMML_Annotation* anno)
}
// trim trailing whitespace
while(out > text_mem && out[-1] && (uint8_t)(out[-1]) <= ' ') {
while(out > text_mem && (uint8_t)(out[-1]) <= ' ') {
out[-1] = '\0';
--out;
}