fix unused declaration/definition warnings from GCC 4.9

This commit is contained in:
Joel Dice 2014-06-30 09:53:09 -06:00
parent 5559fbe5e7
commit 254e3f938d
2 changed files with 4 additions and 5 deletions

View File

@ -14,6 +14,8 @@
namespace {
#if (!defined PLATFORM_WINDOWS) || (defined _MSC_VER)
void
removeNewline(char* s)
{
@ -25,6 +27,8 @@ removeNewline(char* s)
}
}
#endif
} // namespace
extern "C" JNIEXPORT jstring JNICALL

View File

@ -119,11 +119,6 @@ class MutexResource {
class MySystem;
MySystem* system;
#if !defined(WINAPI_FAMILY) || WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
LONG CALLBACK
handleException(LPEXCEPTION_POINTERS e);
#endif
DWORD WINAPI
run(void* r)
{