[Libreoffice] [Patch] Unreachable code ?

Ivan Timofeev timofeev.i.s at gmail.com
Fri Nov 18 03:49:11 PST 2011


Hi Muthu,

18.11.2011 15:38, Muthu Subramanian K пишет:
> That code is inside the constructor.
> and the constructor sets the variable pUndoSet to NULL right on the top.
> So, the if would always fail! Unless I am missing something. Looks too
> trivial to be true ;)

I don't see any way to assign non-NULL value to pUndoSet prior to that 
if. Most likely we can remove it...

Regards,
     Ivan


More information about the LibreOffice mailing list