Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Silence some pdal_wrench warnings
  • Loading branch information
nyalldawson committed Apr 27, 2023
1 parent b0d0ead commit 8bf8ddb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions external/pdal_wrench/tile/tile.cpp
Expand Up @@ -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]()
{
Expand Down
2 changes: 1 addition & 1 deletion external/pdal_wrench/utils.cpp
Expand Up @@ -116,7 +116,7 @@ void runPipelineParallel(point_count_t totalPoints, bool isStreaming, std::vecto
PipelineManager* pipeline = pipelines[i].get();
if (isStreaming)
{
p.add([pipeline, CHUNK_SIZE]() {
p.add([pipeline]() {

MyTable table(CHUNK_SIZE);
pipeline->executeStream(table);
Expand Down

0 comments on commit 8bf8ddb

Please sign in to comment.