summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceGroup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSourceGroup.cxx')
-rw-r--r--Source/cmSourceGroup.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx
index c34afe8..f98eeef 100644
--- a/Source/cmSourceGroup.cxx
+++ b/Source/cmSourceGroup.cxx
@@ -105,14 +105,6 @@ cmSourceGroup *cmSourceGroup::lookupChild(const char* name)
{
return &(*iter); // if it so return it
}
- // if the descendend isn't the one where looking for ask it's traverse
- cmSourceGroup *result = iter->lookupChild(name);
-
- // if one of it's descendeds is the one we're looking for return it
- if(result)
- {
- return result;
- }
}
// if no child with this name was found return NULL