[geocode-glib] lib: Drop a redundant 'const'
- From: Zeeshan Ali <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Drop a redundant 'const'
- Date: Fri, 14 Jul 2017 14:29:14 +0000 (UTC)
commit 9cfd3f7616b52d87db2e85e7feece6d1a847f0d6
Author: Zeeshan Ali <zeenix gmail com>
Date: Fri Jul 14 16:27:33 2017 +0200
lib: Drop a redundant 'const'
This fixes build on Fedora 26:
geocode-nominatim.c:314:19: error: duplicate ‘const’ declaration specifier
[-Werror=duplicate-decl-specifier]
static const char const *place_attributes[] = {
^~~~~
cc1: all warnings being treated as errors
geocode-glib/geocode-nominatim.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/geocode-nominatim.c b/geocode-glib/geocode-nominatim.c
index c1c2e6b..0af69d8 100644
--- a/geocode-glib/geocode-nominatim.c
+++ b/geocode-glib/geocode-nominatim.c
@@ -311,7 +311,7 @@ node_free_func (GNode *node,
return FALSE;
}
-static const char const *place_attributes[] = {
+static const char *place_attributes[] = {
"country",
"state",
"county",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]