Kaydet (Commit) e6019a99 authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: unreadVariable dp_gui_extensioncmdqueue

Change-Id: I0bf922c5f0135d32f66a756c9e6af0bb22575a75
Reviewed-on: https://gerrit.libreoffice.org/63532
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst e1695ce5
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment