FIX: remove some warnings

jira: [none]
Change-Id: I0e74b7316d0efe38c65e1f695b2a09eb09103552
(cherry picked from commit 766c6e004145325bcc7a6addfce27842ee9504de)
This commit is contained in:
xin.zhang
2025-10-28 15:29:56 +08:00
committed by Noisyfox
parent fabc681442
commit 934f32bd8c
16 changed files with 36 additions and 32 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ void BindJob::process(Ctl &ctl)
wxDateTime::TimeZone tz(wxDateTime::Local);
long offset = tz.GetOffset();
std::string timezone = get_timezone_utc_hm(offset);
m_agent->track_update_property("ssdp_version", m_ssdp_version, "string");
int result = m_agent->bind(m_dev_ip, m_dev_id, m_sec_link, timezone, m_improved,
[this, &ctl, &curr_percent, &msg, &result_code, &result_info](int stage, int code, std::string info) {
@@ -114,7 +114,7 @@ void BindJob::process(Ctl &ctl)
;
}
}
post_fail_event(result_code, result_info);
return;
}
+1 -1
View File
@@ -57,7 +57,7 @@ void UpgradeNetworkJob::process(Ctl &ctl)
return ctl.was_canceled();
};
int curr_percent = 0;
result = wxGetApp().download_plugin(name, package_name,
result = wxGetApp().download_plugin(name, package_name,
[this, &ctl, &curr_percent](int state, int percent, bool &cancel) {
if (state == InstallStatusNormal) {
update_status(ctl, percent, _u8L("Downloading"));