Merge pull request #285 from dicej/warnings

fix unused declaration/definition warnings from GCC 4.9
This commit is contained in:
Joshua Warner 2014-06-30 10:13:08 -06:00
commit debd0e289a
2 changed files with 4 additions and 5 deletions

View File

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

View File

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