mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 17:30:42 +08:00
ENH:Fix the issue of local variables being used without initialization
jira: [STUDIO-10756] Change-Id: I56d19d04dbd5064f6657d5a762a44223b4a79a56
This commit is contained in:
parent
ae756297a7
commit
ee07057835
@ -1504,7 +1504,7 @@ void SelectMachineDialog::update_print_status_msg()
|
||||
// for (const auto &info : m_pre_print_checker.filamentList) { update_ams_status_msg(info.msg, info.level == Error ? true : false); }
|
||||
|
||||
std::vector<wxString> filamentList_msgs;
|
||||
bool filamentList_color;
|
||||
bool filamentList_color = false ;
|
||||
for (const auto &info : m_pre_print_checker.filamentList) {
|
||||
filamentList_msgs.push_back(info.msg);
|
||||
filamentList_color = info.level == Error ? true : false;
|
||||
@ -1513,7 +1513,7 @@ void SelectMachineDialog::update_print_status_msg()
|
||||
|
||||
|
||||
std::vector<wxString> printerList_msgs;
|
||||
bool printermsg_color;
|
||||
bool printermsg_color = false;
|
||||
for (const auto &info : m_pre_print_checker.printerList) {
|
||||
printerList_msgs.push_back(info.msg);
|
||||
printermsg_color = info.level == Error ? true : false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user