fix warnings: unused variable 'XX' [-Wunused-variable]

This commit is contained in:
Wladimir J. van der Laan
2012-04-15 19:37:34 -04:00
committed by Luke Dashjr
parent 5f4fee559e
commit fdcafa3535
2 changed files with 15 additions and 4 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
#include <QtGlobal>
// Automatically generated by extract_strings.py
static const char *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "Bitcoin version"),
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "Bitcoin version"),
QT_TRANSLATE_NOOP("bitcoin-core", "Usage:"),
QT_TRANSLATE_NOOP("bitcoin-core", "Send command to -server or bitcoind\n"),
QT_TRANSLATE_NOOP("bitcoin-core", "List commands\n"),