Browse Source

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

Brenton Bostick 2 years ago
parent
commit
3ddaa60de9
1 changed files with 7 additions and 0 deletions
  1. 7 0
      osdep/Binder.hpp

+ 7 - 0
osdep/Binder.hpp

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