summaryrefslogtreecommitdiff
path: root/src/resources/db/palettedb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/palettedb.cpp')
-rw-r--r--src/resources/db/palettedb.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/db/palettedb.cpp b/src/resources/db/palettedb.cpp
index 484e62751..d7ec6b78d 100644
--- a/src/resources/db/palettedb.cpp
+++ b/src/resources/db/palettedb.cpp
@@ -111,6 +111,5 @@ const DyeColor *PaletteDB::getColor(const std::string &name)
mColors.find(name);
if (it != mColors.end())
return &(*it).second;
- else
- return nullptr;
+ return nullptr;
}