Hi, clang recently grew a warning on `for (...);`. The attached patch fixes all two instances of this pattern in libxml. The changes don't change any functionality. I put the ';' on the next line because that's what similar code in uri.c already does, but just inserting a front of it gets rid of the warning as well if you prefer that. I converted tabs to spaces in the lines that I touched, because that matches the surrounding function better. Nico
Attachment:
libxml-wempty-body.patch
Description: Binary data