[json-glib] json-glib: Remove unused symbols



commit 41dbbd6fd7b45c850e2942c2259f2bb23bfe52ef
Author: Thibault Saunier <thibault saunier osg samsung com>
Date:   Thu Oct 27 18:46:15 2016 -0300

    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 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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]