From 0ea1124a1997905cc773a7855bd5e9e1b0124015 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Wed, 11 Jul 2012 01:26:32 -0700 Subject: [PATCH] Fixed warning of Intel Compiler: - standard conformant main function in testrunner.cpp Fixed warning of Intel and MSVC Compilers: - commented out unused parameter --- cli/threadexecutor.cpp | 2 +- test/testrunner.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/threadexecutor.cpp b/cli/threadexecutor.cpp index db2696825..55df0b4c8 100644 --- a/cli/threadexecutor.cpp +++ b/cli/threadexecutor.cpp @@ -316,7 +316,7 @@ void ThreadExecutor::reportErr(const ErrorLogger::ErrorMessage &/*msg*/) } -void ThreadExecutor::reportInfo(const ErrorLogger::ErrorMessage &msg) +void ThreadExecutor::reportInfo(const ErrorLogger::ErrorMessage &/*msg*/) { } diff --git a/test/testrunner.cpp b/test/testrunner.cpp index 980b862c7..d2ad3e594 100644 --- a/test/testrunner.cpp +++ b/test/testrunner.cpp @@ -20,7 +20,7 @@ #include "testsuite.h" #include "options.h" -int main(int argc, const char *argv[]) +int main(int argc, char *argv[]) { options args(argc, argv);