X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f373f1979884082bc201b49e921f8c2b2dc671d1..fad535eea353fa1ce2f15e3053fc3b96e9a0b02d:/src/common/dynarray.cpp diff --git a/src/common/dynarray.cpp b/src/common/dynarray.cpp index bbf54265c4..5b4d11e9b9 100644 --- a/src/common/dynarray.cpp +++ b/src/common/dynarray.cpp @@ -141,8 +141,6 @@ void wxBaseArray::Clear() // pre-allocates memory (frees the previous data!) void wxBaseArray::Alloc(size_t nSize) { - wxASSERT( nSize > 0 ); - // only if old buffer was not big enough if ( nSize > m_nSize ) { wxDELETEA(m_pItems);