summaryrefslogtreecommitdiff
path: root/core/src/fxge/android/fx_android_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxge/android/fx_android_imp.cpp')
-rw-r--r--core/src/fxge/android/fx_android_imp.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/src/fxge/android/fx_android_imp.cpp b/core/src/fxge/android/fx_android_imp.cpp
index 43fe3b197f..073a665560 100644
--- a/core/src/fxge/android/fx_android_imp.cpp
+++ b/core/src/fxge/android/fx_android_imp.cpp
@@ -14,9 +14,6 @@ void CFX_GEModule::InitPlatform() {
IFPF_FontMgr* pFontMgr = pDeviceModule->GetFontMgr();
if (pFontMgr) {
CFX_AndroidFontInfo* pFontInfo = new CFX_AndroidFontInfo;
- if (!pFontInfo) {
- return;
- }
pFontInfo->Init(pFontMgr);
m_pFontMgr->SetSystemFontInfo(pFontInfo);
}