prevent: warning: unused variable 'gotViaProc' (#1797)

This commit is contained in:
Brenton Bostick 2022-11-29 11:55:33 -05:00 committed by GitHub
parent 25641d956e
commit 3ddaa60de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;