From: Wolfgang Stöggl Date: Mon, 3 Jun 2019 09:04:41 +0000 (+0200) Subject: Fix failed to expand Py_UNUSED (rrdtoolmodule.c) X-Git-Tag: v1.8.0~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee6308d9a0e88b44d21aab6aac743c20354e4475;p=thirdparty%2Frrdtool-1.x.git Fix failed to expand Py_UNUSED (rrdtoolmodule.c) - Fix: failed to expand 'Py_UNUSED', Invalid ## usage when expanding 'Py_UNUSED'. - Fixes: https://github.com/oetiker/rrdtool-1.x/issues/903 --- diff --git a/bindings/python/rrdtoolmodule.c b/bindings/python/rrdtoolmodule.c index 3bc795a0..9344c862 100644 --- a/bindings/python/rrdtoolmodule.c +++ b/bindings/python/rrdtoolmodule.c @@ -53,7 +53,7 @@ #ifdef __GNUC__ #define Py_UNUSED(name) _unused_ ## name __attribute__((unused)) #else - #define Py_UNUSED(name) _unused_ ## -name + #define Py_UNUSED(name) _unused_ ## name #endif #endif