浏览代码

Eliminate unused private field (compiler warning).

Adam Ierymenko 12 年之前
父节点
当前提交
5ef758bbd4
共有 2 个文件被更改,包括 1 次插入5 次删除
  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