From 965784669a9655410c38e306f264738d71907d95 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 16 May 2001 00:19:42 +0000 Subject: [PATCH] removed useless assert from wxArray::Alloc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dynarray.cpp | 2 -- 1 file changed, 2 deletions(-) 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);