mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-29 15:43:52 +00:00
prevent: warning: unused variable 'gotViaProc' (#1797)
This commit is contained in:
parent
25641d956e
commit
3ddaa60de9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user