Explorar o código

Eliminate unused private field (compiler warning).

Adam Ierymenko %!s(int64=12) %!d(string=hai) anos
pai
achega
5ef758bbd4
Modificáronse 2 ficheiros con 1 adicións e 5 borrados
  1. 1 2
      node/SysEnv.cpp
  2. 0 3
      node/SysEnv.hpp

+ 1 - 2
node/SysEnv.cpp

@@ -62,8 +62,7 @@
 
 namespace ZeroTier {
 
-SysEnv::SysEnv(const RuntimeEnvironment *renv) :
-	_r(renv)
+SysEnv::SysEnv(const RuntimeEnvironment *renv)
 {
 }
 

+ 0 - 3
node/SysEnv.hpp

@@ -49,9 +49,6 @@ public:
 	 * @return Fingerprint of currently running network environment
 	 */
 	uint64_t getNetworkConfigurationFingerprint();
-
-private:
-	const RuntimeEnvironment *_r;
 };
 
 } // namespace ZeroTier