summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-15 13:00:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-15 13:00:20 +0200
commitca0024ba0d216dbe926771e6645ce43681d7f9c5 (patch)
treeacc1e14371e2d878c7abc463c3476ee28dbc432c /tracker-hatire/thread.hpp
parentdd79cbba8da99d16b9c8ecb7fd861e6b98080743 (diff)
tracker/hatire: remove unused unused macro
Diffstat (limited to 'tracker-hatire/thread.hpp')
-rw-r--r--tracker-hatire/thread.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/tracker-hatire/thread.hpp b/tracker-hatire/thread.hpp
index 12d07f97..665df15f 100644
--- a/tracker-hatire/thread.hpp
+++ b/tracker-hatire/thread.hpp
@@ -27,12 +27,6 @@ enum results
# include <QTimer>
#endif
-#ifdef __GNUC__
-# define unused(t, i) t __attribute__((unused)) i
-#else
-# define unused(t, i) t i
-#endif
-
struct serial_result
{
serial_result() : code(result_ok) {}
@@ -74,7 +68,7 @@ private slots:
void on_serial_read();
void teardown_serial();
- void sendcmd_impl(unused(const QByteArray, &cmd));
+ void sendcmd_impl(const QByteArray, &cmd);
void sendcmd_str_impl(const QString& str) { sendcmd(str.toLatin1()); }
void serial_info_impl();
serial_result init_serial_port_impl();