summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmGlob.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlob.cxx b/Source/cmGlob.cxx
index 0a7d866..859af15 100644
--- a/Source/cmGlob.cxx
+++ b/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] == '/' )
{