ソースを参照

ENH: Remove warning

Andy Cedilnik 22 年 前
コミット
ca4b50a0c2
1 ファイル変更1 行追加2 行削除
  1. 1 2
      Source/cmGlob.cxx

+ 1 - 2
Source/cmGlob.cxx

@@ -267,9 +267,8 @@ bool cmGlob::FindFiles(const std::string& inexpr)
     expr += "/" + inexpr;
     }
 
-  int skip = 0;
-
 #if defined( CM_GLOB_SUPPORT_NETWORK_PATHS )
+  int skip = 0;
   // Handle network paths
   if ( expr[0] == '/' && expr[1] == '/' )
     {