Index: core/src/fxcrt/fx_basic_bstring.cpp |
diff --git a/core/src/fxcrt/fx_basic_bstring.cpp b/core/src/fxcrt/fx_basic_bstring.cpp |
index 781b821f0041760d46ae0640234caaf0e2564502..2377a6d624ae9e5ebb01c17563c8360e69c64202 100644 |
--- a/core/src/fxcrt/fx_basic_bstring.cpp |
+++ b/core/src/fxcrt/fx_basic_bstring.cpp |
@@ -73,9 +73,6 @@ CFX_ByteString::StringData* CFX_ByteString::StringData::Create(int nLen) |
FXSYS_assert(usableSize >= nLen); |
void* pData = FX_Alloc(FX_BYTE, totalSize); |
- if (!pData) { |
- return NULL; |
- } |
return new (pData) StringData(nLen, usableSize); |
} |
CFX_ByteString::~CFX_ByteString() |