mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Warnings: various fixes (#6582)
* Warnings: various fixes * Use std::ignore
This commit is contained in:
parent
1afc1372bc
commit
044a1c4fc5
7 changed files with 17 additions and 14 deletions
|
@ -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>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue