mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-08 09:42:59 +00:00
Silence overzealous -Wunused-result warnings on GCC
This commit is contained in:
@@ -800,7 +800,7 @@ bool more = true;
|
||||
|
||||
void create_index() {
|
||||
|
||||
system(("mkdir " + som_test_dir).c_str());
|
||||
hr::ignore(system(("mkdir " + som_test_dir).c_str()));
|
||||
|
||||
fhstream f(som_test_dir + "index-" + its(current_scale) + ".html", "wt");
|
||||
|
||||
@@ -958,7 +958,7 @@ void all_pairs(bool one) {
|
||||
|
||||
string dir = som_test_dir + "pairs" + cg();
|
||||
|
||||
system(("mkdir -p " + dir + "/img").c_str());
|
||||
hr::ignore(system(("mkdir -p " + dir + "/img").c_str()));
|
||||
|
||||
int sid = 0;
|
||||
for(auto s1: shapelist) {
|
||||
@@ -1093,7 +1093,7 @@ void all_pairs(bool one) {
|
||||
}
|
||||
}
|
||||
|
||||
system("touch done");
|
||||
hr::ignore(system("touch done"));
|
||||
}
|
||||
|
||||
bool verify_distlists = false;
|
||||
|
||||
Reference in New Issue
Block a user