[Image] [Inspection] remove superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 01:54:09 +02:00
parent ce86b03e0a
commit 1f04880da9
4 changed files with 9 additions and 9 deletions

View File

@@ -478,7 +478,7 @@ private:
if (usePolyline == Py_True) {
polyOverride = true;
}
if (optionSource != nullptr) {
if (optionSource) {
defaultOptions = optionSource;
}
@@ -527,7 +527,7 @@ private:
if (usePolyline == Py_True) {
polyOverride = true;
}
if (optionSource != nullptr) {
if (optionSource) {
defaultOptions = optionSource;
}
@@ -587,7 +587,7 @@ private:
polyOverride = true;
}
if (optionSource != nullptr) {
if (optionSource) {
defaultOptions = optionSource;
}
@@ -641,7 +641,7 @@ private:
polyOverride = true;
}
if (optionSource != nullptr) {
if (optionSource) {
defaultOptions = optionSource;
}