Browse Source

- disabled unused variable

master
Andreas Romeyke 3 years ago
parent
commit
04e4439b54
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/lib/manifest.cpp
  2. +1
    -1
      src/lib/payload.cpp

+ 1
- 1
src/lib/manifest.cpp View File

@ -54,7 +54,7 @@ bool Manifest::validate() {
is_valid = false;
}
fs::path p{ file };
fs::file_status s = fs::status( p );
// fs::file_status s = fs::status( p );
if (! fs::is_regular_file( p )) {
this->log << "Bagit file '" << file << "' does not exists in '" << this->basedir << "'" << endl;
}


+ 1
- 1
src/lib/payload.cpp View File

@ -12,7 +12,7 @@ using namespace std;
Payload::Payload( string basedir ) {
this->basedir = basedir;
fs::path p{ this->basedir };
fs::file_status s = fs::status( p );
// fs::file_status s = fs::status( p );
// cout << "basedir "<< p.string() << endl;
// cout << "is dir: "<< fs::is_directory( s) << endl;
// cout << "exists: "<< fs::exists(s) << endl;


Loading…
Cancel
Save