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 3a9b9f9ec3c56078b4be11261d74f83f2dbf2a40..04b04b8ba88ce7064c1dd0b5cb24cfbba0bd7b81 100644 |
--- a/core/src/fxge/apple/fx_mac_imp.cpp |
+++ b/core/src/fxge/apple/fx_mac_imp.cpp |
@@ -100,9 +100,7 @@ void CFX_GEModule::InitPlatform() |
} |
void CFX_GEModule::DestroyPlatform() |
{ |
- if (m_pPlatformData) { |
- delete (CApplePlatform *) m_pPlatformData; |
- } |
+ delete (CApplePlatform *)m_pPlatformData; |
m_pPlatformData = NULL; |
} |
#endif |