From 21daae8b8328dfcc287085de92a2ad18796c8b99 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 14 Feb 2017 13:44:34 +0300 Subject: [PATCH] Eliminate 'value of GC_INLINE unknown' cppcheck info message (fix commit 46a2411) * include/private/gc_atomic_ops.h (AO_INLINE): Check GC_PRIVATE_H is defined instead of "ifdef GC_INLINE". --- include/private/gc_atomic_ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/private/gc_atomic_ops.h b/include/private/gc_atomic_ops.h index e21ed52b..2cf45f9a 100644 --- a/include/private/gc_atomic_ops.h +++ b/include/private/gc_atomic_ops.h @@ -25,7 +25,7 @@ # include "gc.h" /* for GC_word */ typedef GC_word AO_t; -# ifdef GC_INLINE +# ifdef GC_PRIVATE_H /* have GC_INLINE */ # define AO_INLINE GC_INLINE # else # define AO_INLINE static __inline -- 2.40.0