Cppcheck: 'nTotalItems' is assigned a value never used (sfx2 part)

julien2412 serval2412 at yahoo.fr
Tue Feb 12 06:23:40 PST 2013


Hello,

Cppcheck reported this:
sfx2/source/control/thumbnailview.cxx
293	unreadVariable	style	Variable 'nTotalItems' is assigned a value that is
never used.

See
http://opengrok.libreoffice.org/xref/core/sfx2/source/control/thumbnailview.cxx#280

Searching in git history, I noticed the value of it wasn't used since
2012-08-15 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=709a6c1541e53f19a742048ef34ac06b5e7df251

Should "nTotalItems" variable completely removed or should it be used in
another way?

Julien




--
View this message in context: http://nabble.documentfoundation.org/Cppcheck-nTotalItems-is-assigned-a-value-never-used-sfx2-part-tp4036724.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list