From: Jan-Pascal van Best Date: Mon, 29 Aug 2011 08:45:00 +0000 (+0200) Subject: Cleaning up X-Git-Tag: 0.1~1 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=b2426644609fa07e46c39649f02ec698a66aa037;p=backupusage.git Cleaning up --- diff --git a/backupusage.cc b/backupusage.cc index fd6844a..d4596c0 100644 --- a/backupusage.cc +++ b/backupusage.cc @@ -1,9 +1,7 @@ #include #include -#include #include #include -#include #include #include #include @@ -20,11 +18,6 @@ using namespace boost::algorithm; namespace po = boost::program_options; -//set inodes; -//map dirs; - -// boost::regex prefix_re; - string ToHumanReadable(long x) { //CONSTANTS FOR SIZING diff --git a/spacecounter.cc b/spacecounter.cc index cec15b9..c175198 100644 --- a/spacecounter.cc +++ b/spacecounter.cc @@ -43,7 +43,7 @@ void spacecounter::handle_file( const path& dir, const path& p ) { } void spacecounter::handle_dir( const path& dir ) { - cout << dir << endl; + // cout << dir << endl; if ( dirs.find(strip_path(dir)) == dirs.end() ) { dirs[strip_path(dir)] = 0; }