diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-04-15 12:53:14 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-04-15 13:40:14 +0200 |
| commit | 11cd41652519be7053b16847ffa2a7c7df64b95d (patch) | |
| tree | bb7819178907e230a9b95a2f921bddbde50a96c3 /src/qt/bitcoinstrings.cpp | |
| parent | fix warnings: enumeration values 'XX' not handled in switch [-Wswitch-enum] (diff) | |
| download | discoin-11cd41652519be7053b16847ffa2a7c7df64b95d.tar.xz discoin-11cd41652519be7053b16847ffa2a7c7df64b95d.zip | |
fix warnings: unused variable 'XX' [-Wunused-variable]
Diffstat (limited to 'src/qt/bitcoinstrings.cpp')
| -rw-r--r-- | src/qt/bitcoinstrings.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/bitcoinstrings.cpp b/src/qt/bitcoinstrings.cpp index 4fbd9874f..b25af1a21 100644 --- a/src/qt/bitcoinstrings.cpp +++ b/src/qt/bitcoinstrings.cpp @@ -1,6 +1,11 @@ #include <QtGlobal> // Automatically generated by extract_strings.py -static const char *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "" +#ifdef __GNUC__ +#define UNUSED __attribute__((unused)) +#else +#define UNUSED +#endif +static const char UNUSED *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "" "Unable to bind to port %d on this computer. Bitcoin is probably already " "running."), QT_TRANSLATE_NOOP("bitcoin-core", "Warning: Disk space is low "), |