mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +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
|
||||
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…
Add table
Reference in a new issue