From: Arvin Schnell Date: Thu, 30 Aug 2012 11:03:31 +0000 (+0200) Subject: - removed unused function X-Git-Tag: v0.1.3~128 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0e4e56ef8a8575455d720ea8f95a96706f71b7d2;p=thirdparty%2Fsnapper.git - removed unused function --- diff --git a/snapper/AppUtil.cc b/snapper/AppUtil.cc index 638487d2..1eaeffc0 100644 --- a/snapper/AppUtil.cc +++ b/snapper/AppUtil.cc @@ -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) { diff --git a/snapper/AppUtil.h b/snapper/AppUtil.h index fb628001..f235e5ba 100644 --- a/snapper/AppUtil.h +++ b/snapper/AppUtil.h @@ -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);