mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
prevent: warning: unused variable 'gotViaProc' (#1797)
This commit is contained in:
parent
25641d956e
commit
3ddaa60de9
1 changed files with 7 additions and 0 deletions
|
@ -313,6 +313,13 @@ class Binder {
|
||||||
#else
|
#else
|
||||||
const bool gotViaProc = false;
|
const bool gotViaProc = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// prevent:
|
||||||
|
// warning: unused variable 'gotViaProc'
|
||||||
|
//
|
||||||
|
(void)gotViaProc;
|
||||||
|
|
||||||
#if ! (defined(ZT_SDK) || defined(__ANDROID__)) // getifaddrs() freeifaddrs() not available on Android
|
#if ! (defined(ZT_SDK) || defined(__ANDROID__)) // getifaddrs() freeifaddrs() not available on Android
|
||||||
if (! gotViaProc) {
|
if (! gotViaProc) {
|
||||||
struct ifaddrs* ifatbl = (struct ifaddrs*)0;
|
struct ifaddrs* ifatbl = (struct ifaddrs*)0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue