summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-05-23 17:23:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-05-23 17:23:35 (GMT)
commit2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb (patch)
treeb440866b2f48124d946f72f465334061b9199039 /Source/cmSystemTools.cxx
parent14b07c0973f367352a75550af864b56dc99c3848 (diff)
downloadCMake-2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb.zip
CMake-2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb.tar.gz
CMake-2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb.tar.bz2
ENH: increase coverage
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index bb9ada6..37404c2 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1789,23 +1789,6 @@ std::string cmSystemTools::GetFilenameExtension(const std::string& filename)
}
}
-/**
- * Return file extension of a full filename (dot included).
- */
-std::string cmSystemTools::GetFilenameShortestExtension(const std::string& filename)
-{
- std::string name = cmSystemTools::GetFilenameName(filename);
- std::string::size_type dot_pos = name.rfind(".");
- if(dot_pos != std::string::npos)
- {
- return name.substr(dot_pos);
- }
- else
- {
- return "";
- }
-}
-
/**
* Return file name without extension of a full filename (i.e. without path).