diff options
| author | Jeff Garzik <[email protected]> | 2012-04-15 11:39:15 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-04-15 11:39:15 -0700 |
| commit | 5a701eb7ea16b87b56263996ee8e98ec89e2a3d8 (patch) | |
| tree | fe8a60dc3eeb26e62cf4531a98b29ed99bee90e9 /src/qt/bitcoinstrings.cpp | |
| parent | Merge pull request #1084 from dooglus/validate_secret (diff) | |
| parent | fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] (diff) | |
| download | discoin-5a701eb7ea16b87b56263996ee8e98ec89e2a3d8.tar.xz discoin-5a701eb7ea16b87b56263996ee8e98ec89e2a3d8.zip | |
Merge pull request #1104 from laanwj/2012_04_clang
Enable and fix most compilation warnings
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 "), |