]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- removed unused function
authorArvin Schnell <aschnell@suse.de>
Thu, 30 Aug 2012 11:03:31 +0000 (13:03 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 30 Aug 2012 11:03:31 +0000 (13:03 +0200)
snapper/AppUtil.cc
snapper/AppUtil.h

index 638487d293ccbc9eebec8ee4ae8c1121d50a40f3..1eaeffc0f3708083840b4c5c7b8f2e721a6f3b30 100644 (file)
@@ -45,19 +45,6 @@ namespace snapper
     using namespace std;
 
 
-    void
-    createPath(const string& Path_Cv)
-    {
-       string::size_type Pos_ii = 0;
-       while ((Pos_ii = Path_Cv.find('/', Pos_ii + 1)) != string::npos)
-       {
-           string Tmp_Ci = Path_Cv.substr(0, Pos_ii);
-           mkdir(Tmp_Ci.c_str(), 0777);
-       }
-       mkdir(Path_Cv.c_str(), 0777);
-    }
-
-
     bool
     checkDir(const string& Path_Cv)
     {
index fb6280017c14b5489f57394fbbf3db46ac968c5c..f235e5ba7f762c7c8020d89291000fc4cf8e148d 100644 (file)
@@ -41,7 +41,6 @@ namespace snapper
     using std::vector;
 
 
-    void createPath(const string& Path_Cv);
     bool checkNormalFile(const string& Path_Cv);
     bool checkDir(const string& Path_Cv);
     bool checkAnything(const string& Path_Cv);