mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-04-02 01:41:02 +02:00
Merge pull request #41 from redboltz/old_compiler_bus_error_workaround
Fixed an unused function warning.
This commit is contained in:
commit
949b472f7e
@ -462,7 +462,9 @@ bool msgpack_unpack_next(msgpack_unpacked* result,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(MSGPACK_OLD_COMPILER_BUS_ERROR_WORKAROUND)
|
||||||
// FIXME: Dirty hack to avoid a bus error caused by OS X's old gcc.
|
// FIXME: Dirty hack to avoid a bus error caused by OS X's old gcc.
|
||||||
static void dummy_function_to_avoid_bus_error()
|
static void dummy_function_to_avoid_bus_error()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user