From d688fb4b430cac1883e42093038099423540c8e7 Mon Sep 17 00:00:00 2001 From: Martin Dobias Date: Wed, 31 May 2023 16:41:21 +0200 Subject: [PATCH] Remove unused code (to avoid warnings) --- src/tile/tile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tile/tile.cpp b/src/tile/tile.cpp index 878d0a0..f4a3f70 100644 --- a/src/tile/tile.cpp +++ b/src/tile/tile.cpp @@ -637,13 +637,11 @@ static void tilingPass2(BaseInfo &m_b, TileGrid &m_grid, FileInfo &m_srsFileInfo ProgressBar progressBar; progressBar.init(lstBinFiles.size()); - int outFileIdx = 0; for ( const std::string &binFile : lstBinFiles ) { std::string fileStem = fs::path(binFile).stem().string(); std::string outFilename = m_b.opts.outputDir + "/" + fileStem + "." + m_b.opts.outputFormat; outFiles.push_back(outFilename); - outFileIdx++; m_pool2.add([binFile, outFilename, &m_b, &progressBar]() {