From 41dbbd6fd7b45c850e2942c2259f2bb23bfe52ef Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 27 Oct 2016 18:46:15 -0300 Subject: json-glib: Remove unused symbols Or compilation fails with -Werror https://bugzilla.gnome.org/show_bug.cgi?id=773604 --- json-glib/json-scanner.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'json-glib/json-scanner.c') 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; -- cgit v1.2.1