summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-27 15:55:07 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-27 16:00:05 +0100
commit9cfcff6c2195ae25be4022654990c9eea6fbb2f8 (patch)
treec10ae07f9f6bd83b80f0c452ede90b2ac18a314b
parentbe2c1fd6a39ad763b63c85f78b41b1358bf1c685 (diff)
upstream libreoffice warnings patch
-rw-r--r--include/cppunit/plugin/TestPlugIn.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/cppunit/plugin/TestPlugIn.h b/include/cppunit/plugin/TestPlugIn.h
index bd0565c..fed056d 100644
--- a/include/cppunit/plugin/TestPlugIn.h
+++ b/include/cppunit/plugin/TestPlugIn.h
@@ -151,9 +151,7 @@ typedef CppUnitTestPlugIn *(*TestPlugInSignature)();
#include <windows.h>
#endif
#define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \
- BOOL APIENTRY DllMain( HANDLE hModule, \
- DWORD ul_reason_for_call, \
- LPVOID lpReserved ) \
+ BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID ) \
{ \
return TRUE; \
} \
@@ -162,7 +160,7 @@ typedef CppUnitTestPlugIn *(*TestPlugInSignature)();
// Unix
#elif defined(CPPUNIT_HAVE_UNIX_DLL_LOADER) || defined(CPPUNIT_HAVE_UNIX_SHL_LOADER)
#define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \
- int main( int argc, char *argv[] ) \
+ int main( int, char *[] ) \
{ \
return 0; \
} \