Hubert Figuiere | 28 Jun 02:20
Picon

Re: sum1 - r27039 - abiword/trunk/src/text/fmt/xp


>    abiword/trunk/src/text/fmt/xp/fv_View_protected.cpp
> Log:
> Prevent a 'memset used with constant zero length parameter' warning.

> 
> Modified: abiword/trunk/src/text/fmt/xp/fv_View_protected.cpp
> ===================================================================
> --- abiword/trunk/src/text/fmt/xp/fv_View_protected.cpp	2009-06-27 23:18:46 UTC (rev 27038)
> +++ abiword/trunk/src/text/fmt/xp/fv_View_protected.cpp	2009-06-27 23:44:27 UTC (rev 27039)
> @@ -228,7 +228,7 @@
>  	{
>  		UT_sint32 i = 0;
>  		UT_GenericVector<PD_DocumentRange *> vecRanges;
> -		vecRanges.clear();
> +

UT_Vector must be fixed instead.
I thought I already did it.

What does spew these warnings?

Hub


Gmane