diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2016-10-27 18:46:15 -0300 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-03-13 09:19:12 +0000 |
commit | 41dbbd6fd7b45c850e2942c2259f2bb23bfe52ef (patch) | |
tree | f70d2d9d7e5bb42c06f60a1d2d7e3b84fa3fb035 /json-glib/json-scanner.c | |
parent | d77a1c81d9203811af01af580c5f3975e4f9fa24 (diff) | |
download | json-glib-41dbbd6fd7b45c850e2942c2259f2bb23bfe52ef.tar.gz |
json-glib: Remove unused symbols
Or compilation fails with -Werror
https://bugzilla.gnome.org/show_bug.cgi?id=773604
Diffstat (limited to 'json-glib/json-scanner.c')
-rw-r--r-- | json-glib/json-scanner.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/json-glib/json-scanner.c b/json-glib/json-scanner.c index daf9ead..0c9919f 100644 --- a/json-glib/json-scanner.c +++ b/json-glib/json-scanner.c @@ -130,25 +130,6 @@ static JsonScannerConfig json_scanner_config_template = #define READ_BUFFER_SIZE (4000) -static const gchar json_symbol_names[] = - "true\0" - "false\0" - "null\0" - "var\0"; - -static const struct -{ - guint name_offset; - guint token; -} json_symbols[] = { - { 0, JSON_TOKEN_TRUE }, - { 5, JSON_TOKEN_FALSE }, - { 11, JSON_TOKEN_NULL }, - { 16, JSON_TOKEN_VAR } -}; - -static const guint n_json_symbols = G_N_ELEMENTS (json_symbols); - /* --- typedefs --- */ typedef struct _JsonScannerKey JsonScannerKey; |