Status: New
Owner: ----
New issue 50 by pepone.onrez: template_modifiers.h unused parameters
http://code.google.com/p/google-ctemplate/issues/detail?id=50
I get this warning from the unused paramenters in MightModify
from /opt/ctemplate/include/ctemplate/template.h:48,
from Hello.cpp:8:
/opt/ctemplate/include/ctemplate/template_modifiers.h:116: warning: unused
parameter ‘per_expand_data’
/opt/ctemplate/include/ctemplate/template_modifiers.h:116: warning: unused
parameter ‘arg’
virtual bool MightModify(const PerExpandData* per_expand_data,
const std::string& arg) const {
return true;
}
It will be better to get rid of the name of the unused parameters to avoid
this warnning.
virtual bool MightModify(const PerExpandData*,
const std::string&) const {
return true;
}
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings