Skip to content

Commit 0086b55

Browse files
committed
More suppression.
1 parent fe8a7d6 commit 0086b55

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

alg/viewshed/viewshed_executor.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,20 @@
2121
#include "progress.h"
2222
#include "util.h"
2323

24+
// cppcheck-suppress-begin knownConditionTrueFalse
2425
namespace gdal
2526
{
2627
namespace viewshed
2728
{
2829

30+
//! @cond Doxygen_Suppress
2931
CPLErr DummyBand::IReadBlock(int, int, void *)
3032
{
3133
return static_cast<CPLErr>(CPLE_NotSupported);
3234
}
3335

36+
//! @endcond
37+
3438
namespace
3539
{
3640

@@ -1193,7 +1197,6 @@ bool ViewshedExecutor::run()
11931197
return true;
11941198
}
11951199

1196-
// cppcheck-suppress knownConditionTrueFalse
11971200
bool ViewshedExecutor::sdMode() const
11981201
{
11991202
// If the SD band isn't a dummy band, we're in SD mode.
@@ -1202,3 +1205,5 @@ bool ViewshedExecutor::sdMode() const
12021205

12031206
} // namespace viewshed
12041207
} // namespace gdal
1208+
1209+
// cppcheck-suppress-end knownConditionTrueFalse

0 commit comments

Comments
 (0)