[gnome-terminal] encodings: Fix double const warning
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] encodings: Fix double const warning
- Date: Mon, 16 Jul 2018 18:16:39 +0000 (UTC)
commit 735ebb6b170e397e8eaf6c018a429bcf18bcaa95
Author: Igor Zakharov <f2404 yandex ru>
Date: Mon Jul 16 20:15:05 2018 +0200
encodings: Fix double const warning
Introduced by gcc8.
https://gitlab.gnome.org/GNOME/gnome-terminal/issues/13
src/terminal-encoding.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/terminal-encoding.c b/src/terminal-encoding.c
index 77c4be1e..31c064d8 100644
--- a/src/terminal-encoding.c
+++ b/src/terminal-encoding.c
@@ -62,7 +62,7 @@ typedef struct {
} EncodingEntry;
/* These MUST be sorted by charset so that bsearch can work! */
-static const EncodingEntry const encodings[] = {
+static const EncodingEntry encodings[] = {
{ "ARMSCII-8", N_("Armenian"), GROUP_OBSOLETE },
{ "BIG5", N_("Chinese Traditional"), GROUP_CJKV },
{ "BIG5-HKSCS", N_("Chinese Traditional"), GROUP_CJKV },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]