Remove a redundant for loop spotted by FlexiLint
commitef3dc961a99018fba37f3df692f1da7d2ba6caaa
authorNeil Mitchell <ndmitchell@gmail.com>
dateWed 30 Nov 2016, 19:08 (10 years ago)
parent739fd20
cbits/hexml.c+1−1
@@ -367,7 +367,7 @@ static inline str parse_attrval(document* d)
367367static inline str parse_attributes(document* d)
368368{
369369 int start = d->attrs.used;
370− for (int i = 0; ; i++)
370+ while (1)
371371 {
372372 trim(d);
373373 str name = parse_name(d);