Skip to content

Commit

Permalink
[fix] Remove warning about useless index import followed by export be…
Browse files Browse the repository at this point in the history
…cause it can convert now
  • Loading branch information
mxmlnkn committed Oct 14, 2024
1 parent 32569d0 commit 95120f6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tools/rapidgzip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,6 @@ rapidgzipCLI( int argc,
args.indexSavePath = parsedArgs.count( "export-index" ) > 0
? parsedArgs["export-index"].as<std::string>()
: std::string();
if ( !args.indexLoadPath.empty() && !args.indexSavePath.empty() && !quiet ) {
std::cerr << "[Warning] Importing and exporting an index makes limited sense.\n";
}
if ( !args.indexLoadPath.empty() && args.indexSavePath.empty() && ( args.decoderParallelism == 1 ) && !quiet ) {
std::cerr << "[Warning] The index only has an effect for parallel decoding and index exporting.\n";
}
Expand Down

0 comments on commit 95120f6

Please sign in to comment.