Silence -Wunused-parameter
It happened in open_object() if no support for opening files with xdg-open or equivalent was enabled.
This commit is contained in:
parent
233dc2a685
commit
6ab1c1e315
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ bool open_object(const std::string& path_or_url)
|
|||
|
||||
#else
|
||||
|
||||
(void)(path_or_url); // silence gcc's -Wunused-parameter
|
||||
ERR_DU << "open_object(): unsupported platform\n";
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue