update: remove dub entries and minor supplement for last commit

dub entries were showLocalStatus, showGlobalStatus.
Supplement was for
	860e777104
	update: remove unnecessary initialization on the heap
This commit is contained in:
2023-03-27 10:35:52 +02:00
parent 860e777104
commit c9fbe3b4c1

View File

@@ -418,8 +418,6 @@ bool CFlashUpdate::checkVersion4Update()
dprintf(DEBUG_NORMAL, "[update] internet version: %s\n", newVersion.c_str()); dprintf(DEBUG_NORMAL, "[update] internet version: %s\n", newVersion.c_str());
showLocalStatus(100);
showGlobalStatus(20);
hide(); hide();
CFlashVersionInfo versionInfo(newVersion); CFlashVersionInfo versionInfo(newVersion);
@@ -428,7 +426,7 @@ bool CFlashUpdate::checkVersion4Update()
if (gotImage) if (gotImage)
{ {
#if 0 #if 0
if ((strncmp(PACKAGE_RELEASE_CYCLE, versionInfo->getReleaseCycle(), 2) != 0) && if ((strncmp(PACKAGE_RELEASE_CYCLE, versionInfo.getReleaseCycle(), 2) != 0) &&
(ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_WRONGBASE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes)) (ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_WRONGBASE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes))
{ {
return false; return false;