print_attributes() contains unused parameter
Brought to you by:
kaalus
When compiling a project using g++ w/ compiler flags -Wall and -Werror, compilation fails for the following function:
template<class OutIt, class Ch> inline OutIt print_attributes(OutIt out, const xml_node<Ch> *node, int flags)
Correction is as simple as removing the unused flags variable name. i.e.:
template<class OutIt, class Ch> inline OutIt print_attributes(OutIt out, const xml_node<Ch> *node, int)