proxy: mute unused variable warning if disabled

This commit is contained in:
Adrien Béraud committed 2019-04-13 23:02:57 -04:00
1 parent 15da502354
commit af940c63b1
3 files changed
+13

No files matched your search

+2
View File
@@ -49,6 +49,8 @@ public:
virtual void setPushNotificationToken(const std::string& token) {
#ifdef OPENDHT_PUSH_NOTIFICATIONS
deviceKey_ = token;
#else
(void) token;
#endif
}