Index: core/src/fxcrt/fx_extension.cpp |
diff --git a/core/src/fxcrt/fx_extension.cpp b/core/src/fxcrt/fx_extension.cpp |
index e74c52d4a84cff338a39bac1e2461798717b2897..876cf4754840014cc57a80b937c6a9a40506ef2b 100644 |
--- a/core/src/fxcrt/fx_extension.cpp |
+++ b/core/src/fxcrt/fx_extension.cpp |
@@ -287,9 +287,6 @@ extern "C" { |
FX_LPVOID FX_Random_MT_Start(FX_DWORD dwSeed) |
{ |
FX_LPMTRANDOMCONTEXT pContext = FX_Alloc(FX_MTRANDOMCONTEXT, 1); |
- if (!pContext) { |
- return NULL; |
- } |
pContext->mt[0] = dwSeed; |
FX_DWORD &i = pContext->mti; |
FX_LPDWORD pBuf = pContext->mt; |