aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_ver_check
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-06-09 20:08:51 +0000
committersaturneric <[email protected]>2025-06-09 20:08:51 +0000
commit4b22dfe5b6b44ecf824d322eff69699203506fc4 (patch)
tree6c771da206f35f4e48ec519ef760ad32827e47c4 /src/m_ver_check
parentfix: undef CB_SUCC and CB_ERR before redefinition (diff)
downloadModules-main.tar.gz
Modules-main.zip
fix: remove redundant flag setting in version check taskHEADmain
- remove duplicate setting of current_commit_hash_publish_in_remote flag - flag is already set in the parent function before calling this method
Diffstat (limited to '')
-rw-r--r--src/m_ver_check/BKTUSVersionCheckTask.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/m_ver_check/BKTUSVersionCheckTask.cpp b/src/m_ver_check/BKTUSVersionCheckTask.cpp
index dc9f404..fe98c78 100644
--- a/src/m_ver_check/BKTUSVersionCheckTask.cpp
+++ b/src/m_ver_check/BKTUSVersionCheckTask.cpp
@@ -176,7 +176,6 @@ void BKTUSVersionCheckTask::slot_parse_current_tag_info(QNetworkReply* reply) {
if (entry_elem.isNull()) {
FLOG_WARN("first xml entry of current version: %1 is null",
current_version_);
- version_meta_data_.current_commit_hash_publish_in_remote = false;
return;
}
@@ -187,7 +186,6 @@ void BKTUSVersionCheckTask::slot_parse_current_tag_info(QNetworkReply* reply) {
if (title_elem.isNull() || id_elem.isNull() || published_elem.isNull()) {
FLOG_WARN("illegal xml entry of structure of version: %1",
current_version_);
- version_meta_data_.current_commit_hash_publish_in_remote = false;
return;
}