From 350a2bc58f58714855bcfcba50da23196de77d01 Mon Sep 17 00:00:00 2001 From: TomFischer <thomas.fischer@ufz.de> Date: Wed, 11 Jan 2023 12:57:15 +0000 Subject: [PATCH] [A/IO/AsciiRasterInterface] Fix warning: suggest parentheses around assignment used as truth value --- Applications/FileIO/AsciiRasterInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/FileIO/AsciiRasterInterface.cpp b/Applications/FileIO/AsciiRasterInterface.cpp index bdbcc0ece27..bac881f5672 100644 --- a/Applications/FileIO/AsciiRasterInterface.cpp +++ b/Applications/FileIO/AsciiRasterInterface.cpp @@ -287,7 +287,7 @@ GeoLib::Raster* AsciiRasterInterface::getRasterFromXyzFile( 0, 0, 1, GeoLib::Point(*coords), (*coords2)[0] - (*coords)[0], -9999}; std::size_t n_cols = 2, n_rows = 1; - while (coords = readCoordinates(in)) + while ((coords = readCoordinates(in))) { values.push_back((*coords)[2]); if ((*coords)[0] > (*coords2)[0]) -- GitLab