Navigation Menu

Skip to content

Commit

Permalink
qgswmsgetcapabilities.cpp: add cppcheck suppression to avoid a cumber…
Browse files Browse the repository at this point in the history
…some fix for a potential duplicate test depending whether HAVE_SERVER_PYTHON_PLUGINS is defined or not
  • Loading branch information
rouault committed May 29, 2020
1 parent 9ff4c0d commit ece0b41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -141,6 +141,7 @@ namespace QgsWms
}
#endif

// cppcheck-suppress identicalInnerCondition
if ( !capabilitiesDocument )
{
capabilitiesCache->insertCapabilitiesDocument( configFilePath, cacheKey, &doc );
Expand Down

0 comments on commit ece0b41

Please sign in to comment.