diff options
author | Vitaly Stakhovsky <vvs31415@users.noreply.gitlab.com> | 2024-08-27 13:30:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@users.noreply.gitlab.com> | 2024-08-27 14:56:38 (GMT) |
commit | 58da4aa47df7d12c54c2d3f26722eca5dd8ee10f (patch) | |
tree | c5d9bf243c3ec1526fd9e171f28d581a6af57e70 /Source/cmDependsJavaParserHelper.cxx | |
parent | 72607d3402b91c3a9f4579c86175e4ca1ce6aa4e (diff) | |
download | CMake-58da4aa47df7d12c54c2d3f26722eca5dd8ee10f.zip CMake-58da4aa47df7d12c54c2d3f26722eca5dd8ee10f.tar.gz CMake-58da4aa47df7d12c54c2d3f26722eca5dd8ee10f.tar.bz2 |
Source: Avoid comparing pointers to nullptr
Diffstat (limited to 'Source/cmDependsJavaParserHelper.cxx')
-rw-r--r-- | Source/cmDependsJavaParserHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsJavaParserHelper.cxx b/Source/cmDependsJavaParserHelper.cxx index 6e617f6..e2718e4 100644 --- a/Source/cmDependsJavaParserHelper.cxx +++ b/Source/cmDependsJavaParserHelper.cxx @@ -309,7 +309,7 @@ void cmDependsJavaParserHelper::Error(const char* str) void cmDependsJavaParserHelper::UpdateCombine(const char* str1, const char* str2) { - if (this->CurrentCombine.empty() && str1 != nullptr) { + if (this->CurrentCombine.empty() && str1) { this->CurrentCombine = str1; } this->CurrentCombine += "."; |