Cppcheck reports an assignment which isn't used in sd/source/ui/func/fupage.cxx

Markus Mohrhard markus.mohrhard at googlemail.com
Fri Dec 28 05:43:10 PST 2012


2012/12/28 Julien Nabet <serval2412 at yahoo.fr>:
> On 28/12/2012 12:37, Ioan Radu wrote:
>
> Hello Julien,
> but it is used, it is an array
> sal_uInt16 p1 = pPtr[0], p2 = pPtr[1];
>   while(pPtr[2] && (pPtr[2] - p2 == 1))
>
> Hi Loan,
>
> Yes but what about after line 243? What's the use of line 243 if "pPtr"
> isn't used afterwards?
>

The assignment in line 243 is unnecessary. Allothers are still relevant.


More information about the LibreOffice mailing list