去除system返回值未使用警告
This commit is contained in:
parent
f0120af7de
commit
913e69b4c5
@ -279,5 +279,6 @@ void MainWidget::generate()
|
|||||||
}
|
}
|
||||||
out << run_sh;
|
out << run_sh;
|
||||||
out.close();
|
out.close();
|
||||||
system(std::string("chmod +x " + out_sh).c_str());
|
int r = system(std::string("chmod +x " + out_sh).c_str());
|
||||||
|
(void)r;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user