#6 print_attributes() contains unused parameter

open
nobody
None
5
2009-09-03
2009-09-03
No

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)

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks