silence unused parameter warning

This commit is contained in:
Jez Higgins 2010-12-23 23:15:34 +00:00
parent 8a9115fd53
commit e8753c80db
4 changed files with 5 additions and 11 deletions

View file

@ -119,7 +119,7 @@ void ewim_commentHandler(void* userData, const XML_Char* data)
p->commentHandler(data);
} // commentHandler
void ewim_skippedEntityHandler(void* userData, const XML_Char* entityName, int is_parameter_entity)
void ewim_skippedEntityHandler(void* userData, const XML_Char* entityName, int /* is_parameter_entity */)
{
expat2base* p = reinterpret_cast<expat2base*>(userData);
p->skippedEntity(entityName);

View file

@ -7,9 +7,7 @@
////////////////////////////////////////////////
int main(int argc, const char* argv[])
{
bool ok = DOM_test_suite<std::string, Arabica::default_string_adaptor<std::string> >(argc, argv);
//return !ok;
DOM_test_suite<std::string, Arabica::default_string_adaptor<std::string> >(argc, argv);
return 77;
} // main

View file

@ -9,9 +9,7 @@
////////////////////////////////////////////////
int main(int argc, const char* argv[])
{
bool ok = DOM_test_suite<silly_string, silly_string_adaptor>(argc, argv);
//return !ok;
DOM_test_suite<silly_string, silly_string_adaptor>(argc, argv);
return 77;
} // main

View file

@ -11,10 +11,8 @@
////////////////////////////////////////////////
int main(int argc, const char* argv[])
{
bool ok = DOM_test_suite<std::wstring, Arabica::default_string_adaptor<std::wstring> >(argc, argv);
//return !ok;
return 77;
DOM_test_suite<std::wstring, Arabica::default_string_adaptor<std::wstring> >(argc, argv);
return 77; // the make check magic ignore this result marker
} // main
// end of file