From e8753c80db96a9e89b7d724d5db39548d398c638 Mon Sep 17 00:00:00 2001 From: Jez Higgins Date: Thu, 23 Dec 2010 23:15:34 +0000 Subject: [PATCH] silence unused parameter warning --- src/SAX/wrappers/saxexpat.cpp | 2 +- tests/DOM/main.cpp | 4 +--- tests/DOM/main_silly.cpp | 4 +--- tests/DOM/main_wide.cpp | 6 ++---- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/SAX/wrappers/saxexpat.cpp b/src/SAX/wrappers/saxexpat.cpp index e1ece7c9..6df82190 100644 --- a/src/SAX/wrappers/saxexpat.cpp +++ b/src/SAX/wrappers/saxexpat.cpp @@ -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(userData); p->skippedEntity(entityName); diff --git a/tests/DOM/main.cpp b/tests/DOM/main.cpp index 8eff4c02..067b0ca6 100644 --- a/tests/DOM/main.cpp +++ b/tests/DOM/main.cpp @@ -7,9 +7,7 @@ //////////////////////////////////////////////// int main(int argc, const char* argv[]) { - bool ok = DOM_test_suite >(argc, argv); - - //return !ok; + DOM_test_suite >(argc, argv); return 77; } // main diff --git a/tests/DOM/main_silly.cpp b/tests/DOM/main_silly.cpp index 72fb5251..f5befc0e 100644 --- a/tests/DOM/main_silly.cpp +++ b/tests/DOM/main_silly.cpp @@ -9,9 +9,7 @@ //////////////////////////////////////////////// int main(int argc, const char* argv[]) { - bool ok = DOM_test_suite(argc, argv); - - //return !ok; + DOM_test_suite(argc, argv); return 77; } // main diff --git a/tests/DOM/main_wide.cpp b/tests/DOM/main_wide.cpp index fc7f9be1..f5b9589a 100644 --- a/tests/DOM/main_wide.cpp +++ b/tests/DOM/main_wide.cpp @@ -11,10 +11,8 @@ //////////////////////////////////////////////// int main(int argc, const char* argv[]) { - bool ok = DOM_test_suite >(argc, argv); - - //return !ok; - return 77; + DOM_test_suite >(argc, argv); + return 77; // the make check magic ignore this result marker } // main // end of file