diff --git a/osdep/Binder.hpp b/osdep/Binder.hpp index 4e08f4539..666d63670 100644 --- a/osdep/Binder.hpp +++ b/osdep/Binder.hpp @@ -313,6 +313,13 @@ class Binder { #else const bool gotViaProc = false; #endif + + // + // prevent: + // warning: unused variable 'gotViaProc' + // + (void)gotViaProc; + #if ! (defined(ZT_SDK) || defined(__ANDROID__)) // getifaddrs() freeifaddrs() not available on Android if (! gotViaProc) { struct ifaddrs* ifatbl = (struct ifaddrs*)0;