Browse Source

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

pull/4/head
Brenton Bostick 3 years ago committed by GitHub
parent
commit
3ddaa60de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      osdep/Binder.hpp

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

Loading…
Cancel
Save