mirror of
https://github.com/corda/corda.git
synced 2025-05-09 12:02:56 +00:00
Merge pull request #285 from dicej/warnings
fix unused declaration/definition warnings from GCC 4.9
This commit is contained in:
commit
debd0e289a
@ -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
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user