desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit e6019a99c8c451640d3df5b8ab1fd0be143ddf21 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Nov 18 21:11:10 2018 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Nov 18 22:08:04 2018 +0100 cppcheck: unreadVariable dp_gui_extensioncmdqueue Change-Id: I0bf922c5f0135d32f66a756c9e6af0bb22575a75 Reviewed-on: https://gerrit.libreoffice.org/63532 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx index c690ae401b2a..5c0b38da671e 100644 --- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx +++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx @@ -906,13 +906,10 @@ void ExtensionCmdQueue::Thread::_checkForUpdates( // If there is at least one directly downloadable extension then we // open the install dialog. std::vector< UpdateData > dataDownload; - int countWebsiteDownload = 0; for (auto const& data : vData) { - if ( !data.sWebsiteURL.isEmpty() ) - countWebsiteDownload ++; - else + if ( data.sWebsiteURL.isEmpty() ) dataDownload.push_back(data); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits