mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-21 20:12:16 -07:00
ENH:Fix the issue of local variables being used without initialization
jira: [STUDIO-10756] Change-Id: I56d19d04dbd5064f6657d5a762a44223b4a79a56 (cherry picked from commit ee0705783507d8590c8fc72e9a2f2f854060c231)
This commit is contained in:
parent
15b0907df2
commit
ec8261055f
1 changed files with 2 additions and 2 deletions
|
|
@ -1502,7 +1502,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;
|
||||
|
|
@ -1511,7 +1511,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…
Add table
Add a link
Reference in a new issue