Re: [Libreoffice] [PUSHED] Fix cppcheck errors and warnings

2011-02-07 Thread David Tardon
On Sun, Feb 06, 2011 at 09:42:46PM +0100, Xisco FaulĂ­ wrote: > -} section[SECTIONS]; > +} section[SECTIONS] = NULL; This is false alarm. The struct has default constructor, so the elements of the array are initialized properly. > +delete [] level; This is wrong, because Outli

Re: [Libreoffice] [PUSHED] Fix cppcheck errors and warnings

2011-02-07 Thread Jesse Adelman
On 02/07/11 01:37, David Tardon wrote: > On Sun, Feb 06, 2011 at 09:42:46PM +0100, Xisco FaulĂ­ wrote: >> -} section[SECTIONS]; >> +} section[SECTIONS] = NULL; > > This is false alarm. The struct has default constructor, so the elements > of the array are initialized properly. > >> +