Reduce warnings: remove unused variables (#6499)

Removed unused variables
This commit is contained in:
Vovodroid 2024-08-22 19:02:58 +03:00 committed by GitHub
parent c6065d54fc
commit 2eb1adb719
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 21 additions and 32 deletions

View file

@ -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;