mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Warnings: various fixes (#6582)
* Warnings: various fixes * Use std::ignore
This commit is contained in:
@@ -446,7 +446,7 @@ void PrintJob::process(Ctl &ctl)
|
||||
std::string curr_job_id;
|
||||
json job_info_j;
|
||||
try {
|
||||
job_info_j.parse(job_info);
|
||||
std::ignore = job_info_j.parse(job_info);
|
||||
if (job_info_j.contains("job_id")) {
|
||||
curr_job_id = job_info_j["job_id"].get<std::string>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user