update.cpp: fix previous definition versionInfo

This commit is contained in:
max_10
2023-03-23 22:10:20 +01:00
committed by Thilo Graf
parent 31c5dd3190
commit 28974b9626

View File

@@ -405,7 +405,6 @@ bool CFlashUpdate::getUpdateImage(const std::string &version)
bool CFlashUpdate::checkVersion4Update() bool CFlashUpdate::checkVersion4Update()
{ {
char msg[400]; char msg[400];
CFlashVersionInfo *versionInfo;
dprintf(DEBUG_NORMAL, "[update] mode is %d\n", softupdate_mode); dprintf(DEBUG_NORMAL, "[update] mode is %d\n", softupdate_mode);
if (softupdate_mode == 1) // internet-update if (softupdate_mode == 1) // internet-update
{ {