diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-06-26 12:15:42 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-06-26 12:15:42 +0200 |
commit | 3333ea1bbfaf3ef815d97e08863b596b66a51ed0 (patch) | |
tree | 9c67bc3f3cbef1779f0310bb218bb29ab9eff9cd /src/totem-menu.c | |
parent | faf3c581e13dc0c2170c648cd6f4191aa83e889f (diff) | |
download | totem-3333ea1bbfaf3ef815d97e08863b596b66a51ed0.tar.gz |
all: Fix compile-time warning with GCC7
duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
The warning was added in:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43651
just for this purpose.
"
int foo(const char const *data);
^~~~~~
1 warning generated.
[...] In that case it was clearly a mistake, because the author meant
'const char *const data' [...]
"
Diffstat (limited to 'src/totem-menu.c')
-rw-r--r-- | src/totem-menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/totem-menu.c b/src/totem-menu.c index 7a1c43fb7..cc7cbedb9 100644 --- a/src/totem-menu.c +++ b/src/totem-menu.c @@ -343,7 +343,7 @@ totem_app_menu_setup (Totem *totem) { GMenuModel *appmenu; char *accels[] = { NULL, NULL }; - const char const *shortcuts_accels[] = { + const char * const shortcuts_accels[] = { "<Ctrl>H", "<Ctrl>question", "<Ctrl>F1", |