From 0e1617e876c59d4f4658ebf25630a1f1c7fa93cd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 18 Dec 2017 09:11:06 +0100 Subject: compat, x-plane: get rid of attribute unused macro --- compat/macros.hpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'compat') diff --git a/compat/macros.hpp b/compat/macros.hpp index 05a027bd..e27eb906 100644 --- a/compat/macros.hpp +++ b/compat/macros.hpp @@ -34,12 +34,6 @@ # define force_inline inline #endif -#if defined __GNUG__ -# define flatten __attribute__((flatten, noinline)) -#else -# define flatten -#endif - #ifdef Q_CREATOR_RUN # define warn_result_unused #elif defined(_MSC_VER) @@ -54,12 +48,6 @@ # define unused(t, i) t #endif -#if !defined(_WIN32) -# define unused_on_unix(t, i) unused(t, i) -#else -# define unused_on_unix(t, i) t i -#endif - #if defined __GNUC__ # define likely(x) __builtin_expect(!!(x),1) # define unlikely(x) __builtin_expect(!!(x),0) -- cgit v1.2.3