added ignore to prevent warnings

This commit is contained in:
Zeno Rogue 2021-04-07 20:00:49 +02:00
parent c0901b47c8
commit b470af5d89
1 changed files with 2 additions and 2 deletions

View File

@ -715,11 +715,11 @@ EX void open_url(string s) {
#endif
#ifdef LINUX
system(("xdg-open "+s).c_str());
ignore(system(("xdg-open "+s).c_str()));
#endif
#ifdef MAC
system(("open "+s).c_str());
ignore(system(("open "+s).c_str()));
#endif
#endif
}