Skip to content

Commit 76173bd

Browse files
committed
Remove unreachable code
1 parent 8dfdc3c commit 76173bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

gframe/data_manager.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@ class DataManager {
201201
bool HasLocale(uint32_t code) const {
202202
auto search = map.find(code);
203203
return search != map.end() && !search->second.first.empty();
204-
if(search == map.end() || search->second.first.empty())
205-
return false;
206-
return true;
207204
}
208205
void ClearLocales() {
209206
for(auto& elem : map)

0 commit comments

Comments
 (0)