summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/calendar.cpp6
-rw-r--r--library/qpemessagebox.cpp7
2 files changed, 13 insertions, 0 deletions
diff --git a/library/calendar.cpp b/library/calendar.cpp
index 5199413..70e764c 100644
--- a/library/calendar.cpp
+++ b/library/calendar.cpp
@@ -30,8 +30,14 @@
30 \ingroup qtopiaemb 30 \ingroup qtopiaemb
31*/ 31*/
32 32
33#ifdef Q_OS_MACX
34 #define ATTRIBUTE_UNUSED
35#else
36 #define ATTRIBUTE_UNUSED __attribute__((unused))
37#endif
33 38
34 39
40static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() ATTRIBUTE_UNUSED;
35static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() { 41static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() {
36 (void)QObject::tr("Jan"); 42 (void)QObject::tr("Jan");
37 (void)QObject::tr("Feb"); 43 (void)QObject::tr("Feb");
diff --git a/library/qpemessagebox.cpp b/library/qpemessagebox.cpp
index bf03d31..c38828a 100644
--- a/library/qpemessagebox.cpp
+++ b/library/qpemessagebox.cpp
@@ -23,6 +23,13 @@
23 23
24#include <qmessagebox.h> 24#include <qmessagebox.h>
25 25
26#ifdef Q_OS_MACX
27 #define ATTRIBUTE_UNUSED
28#else
29 #define ATTRIBUTE_UNUSED __attribute__((unused))
30#endif
31
32static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() ATTRIBUTE_UNUSED;
26static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() { 33static void never_called_tr_function_um_libqpe_ts_etwas_unter_zu_jubeln() {
27(void)QMessageBox::tr("Yes"); 34(void)QMessageBox::tr("Yes");
28(void)QMessageBox::tr("No"); 35(void)QMessageBox::tr("No");