mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
silence unused parameter warning
This commit is contained in:
parent
8a9115fd53
commit
e8753c80db
4 changed files with 5 additions and 11 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue