hints.codec = CODEC_ID_DVD_SUBTITLE;
char line[2048];
- bool __attribute__(unused) res;
+ DECLARE_UNUSED(bool,res)
SState state;
state.delay = 0;
int buttonId = -1;
int axisId = -1;
int joyId = -1;
- bool __attribute__(unused) ignore = false; // not used for now
- bool __attribute__(unused) axis = false;
+ DECLARE_UNUSED(bool,ignore = false)
+ DECLARE_UNUSED(bool,axis = false);
switch(joyEvent.type)
{
#if defined(HAVE_CONFIG_H) && !defined(TARGET_WINDOWS)
#include "config.h"
+#define DECLARE_UNUSED(a,b) a __attribute__(unused) b;
#endif
/*****************
#define HAS_ZEROCONF
#define HAS_AIRPLAY
#define HAVE_LIBCEC
+
+#define DECLARE_UNUSED(a,b) a b;
#endif
/*****************
for (int i=0; i<100000;i++)
{
- int64_t __attribute__(unused) tmDummy;
+ DECLARE_UNUSED(int64_t,tmDummy);
tmDummy = CurrentHostCounter();
}