Index: core/src/fxge/apple/fx_mac_imp.cpp |
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp |
index 07e3d02c4c0e93536792c2fc53fa845025d50f8c..41333f8bf4dee74b582a5b73deda9bd51a8f097e 100644 |
--- a/core/src/fxge/apple/fx_mac_imp.cpp |
+++ b/core/src/fxge/apple/fx_mac_imp.cpp |
@@ -96,9 +96,6 @@ void* CFX_MacFontInfo::MapFont(int weight, |
} |
IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault(const char** pUnused) { |
CFX_MacFontInfo* pInfo = new CFX_MacFontInfo; |
- if (!pInfo) { |
- return NULL; |
- } |
pInfo->AddPath("~/Library/Fonts"); |
pInfo->AddPath("/Library/Fonts"); |
pInfo->AddPath("/System/Library/Fonts"); |