diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 01:48:01 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 01:48:01 +0200 |
| commit | 8d58ffb022649fd8a28d2f74845fc8ca5c934029 (patch) | |
| tree | 3ce6d5037e95192401a9490c9d13253101017764 /src/gui_config.cc | |
| parent | c974e4b5df40aec646a60c747f453d11a8e7587c (diff) | |
Remove attribute(__unused__) usage
Just omitting the parameter name is more portable and less to write
Diffstat (limited to 'src/gui_config.cc')
| -rw-r--r-- | src/gui_config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_config.cc b/src/gui_config.cc index 5fa5506..3fd1cd2 100644 --- a/src/gui_config.cc +++ b/src/gui_config.cc @@ -6,11 +6,11 @@ #include <string.h> -bool GuiConfig::load_name(std::string const& UNUSED(name)) { +bool GuiConfig::load_name(std::string const&) { return false; } -bool GuiConfig::load_file(std::string const& UNUSED(filename)) { +bool GuiConfig::load_file(std::string const&) { return false; } |
