diff --git a/src/common/string.cpp b/src/common/string.cpp index 134cd452c6..c8ebc830cd 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -2024,8 +2024,6 @@ wxArrayString::~wxArrayString() // pre-allocates memory (frees the previous data!) void wxArrayString::Alloc(size_t nSize) { - wxASSERT( nSize > 0 ); - // only if old buffer was not big enough if ( nSize > m_nSize ) { Free();