Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.