summaryrefslogtreecommitdiffhomepage
path: root/tracker-s2bot
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-06-30 15:52:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2020-06-30 15:53:14 +0200
commitbe6a71b29c2d6837f5efbabbada459d1b1abbae9 (patch)
tree41969572287bb91837a08f2e03db6406e776fd95 /tracker-s2bot
parent5ea82f38a989a3507d5957083805fecbb2faa63d (diff)
fix warnings
Diffstat (limited to 'tracker-s2bot')
-rw-r--r--tracker-s2bot/ftnoir_tracker_s2bot.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tracker-s2bot/ftnoir_tracker_s2bot.cpp b/tracker-s2bot/ftnoir_tracker_s2bot.cpp
index c1cb7d9b..c9d684aa 100644
--- a/tracker-s2bot/ftnoir_tracker_s2bot.cpp
+++ b/tracker-s2bot/ftnoir_tracker_s2bot.cpp
@@ -27,6 +27,10 @@ static constexpr int add_cbx[] =
-180,
};
+#ifdef __GNUG__
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
void tracker_s2bot::run() {
int freq = s.freq;
if (freq <= 0)