From be67d3e3623a36ec48a899fc295d6cee5ce01e1f Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo <redboltz@gmail.com> Date: Wed, 27 Nov 2013 10:33:52 +0900 Subject: [PATCH] Fixed an unused function warning. This fix is a part of issue #33. https://github.com/snej/msgpack-c/commit/35ba41c24503ec934b1cb181a979459644242a01 --- src/unpack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unpack.c b/src/unpack.c index 4afc05e2..4c2d75f1 100644 --- a/src/unpack.c +++ b/src/unpack.c @@ -462,7 +462,9 @@ bool msgpack_unpack_next(msgpack_unpacked* result, 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. static void dummy_function_to_avoid_bus_error() { } +#endif