mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Reduce warnings: remove unused variables (#6499)
Removed unused variables
This commit is contained in:
parent
c6065d54fc
commit
2eb1adb719
18 changed files with 21 additions and 32 deletions
|
@ -150,7 +150,6 @@ void PrintJob::process(Ctl &ctl)
|
|||
ctl.call_on_main_thread([this] { prepare(); }).wait();
|
||||
|
||||
int result = -1;
|
||||
unsigned int http_code;
|
||||
std::string http_body;
|
||||
|
||||
int total_plate_num = plate_data.plate_count;
|
||||
|
@ -312,7 +311,7 @@ void PrintJob::process(Ctl &ctl)
|
|||
try {
|
||||
stl_design_id = std::stoi(wxGetApp().model().stl_design_id);
|
||||
}
|
||||
catch (const std::exception& e) {
|
||||
catch (const std::exception&) {
|
||||
stl_design_id = 0;
|
||||
}
|
||||
params.stl_design_id = stl_design_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue