diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2021-02-11 16:34:43 +0100 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2021-02-11 16:34:43 +0100 |
| commit | eba98e8469a04862d5c2cbac5903e653516c30a6 (patch) | |
| tree | 6209294f646ab2d739bdde5754a9e193ed456b77 /src/mainwindow.cpp | |
| parent | 73418ec61646673ffa90a2b5debde4e25e020b4b (diff) | |
Remove unused variable
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 762cf02e..0fabd0dc 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2951,7 +2951,6 @@ void MainWindow::nxmModInfoAvailable(QString gameName, int modID, QVariant userD } std::vector<ModInfo::Ptr> modsList = ModInfo::getByModID(gameNameReal, modID); for (auto mod : modsList) { - bool foundUpdate = false; QDateTime now = QDateTime::currentDateTimeUtc(); QDateTime updateTarget = mod->getExpires(); if (now >= updateTarget) { @@ -2959,7 +2958,6 @@ void MainWindow::nxmModInfoAvailable(QString gameName, int modID, QVariant userD // with an older version than the main mod version. if (mod->getNexusFileStatus() != 3 && mod->getNexusFileStatus() != 5) { mod->setNewestVersion(result["version"].toString()); - foundUpdate = true; } // update the LastNexusUpdate time in any case since we did perform the check. mod->setLastNexusUpdate(QDateTime::currentDateTimeUtc()); |
