Skip to content

Commit 9e3a3a5

Browse files
committed
Try to eliminate cppcheck warning.
1 parent 76f2c9d commit 9e3a3a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/gdal_viewshed.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,6 @@ void validateArgs(Options &localOpts, const GDALArgumentParser &argParser)
258258
opts.nodataVal = 0;
259259
}
260260

261-
} // unnamed namespace
262-
263261
bool run(gdal::Options &localOpts, bool adjustCurveCoeff)
264262
{
265263
viewshed::Options &opts = localOpts.opts;
@@ -335,6 +333,7 @@ bool run(gdal::Options &localOpts, bool adjustCurveCoeff)
335333
return bSuccess;
336334
}
337335

336+
} // unnamed namespace
338337
} // namespace gdal
339338

340339
/************************************************************************/

0 commit comments

Comments
 (0)