[gnome-builder] symbol-tree-builder: shut up gcc switch warning



commit 069d83978d61877a73f80bfaa110428578011105
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Wed Oct 26 23:22:39 2016 +0200

    symbol-tree-builder: shut up gcc switch warning

 plugins/symbol-tree/symbol-tree-builder.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/plugins/symbol-tree/symbol-tree-builder.c b/plugins/symbol-tree/symbol-tree-builder.c
index e0e2a60..2a76f9d 100644
--- a/plugins/symbol-tree/symbol-tree-builder.c
+++ b/plugins/symbol-tree/symbol-tree-builder.c
@@ -106,8 +106,20 @@ symbol_tree_builder_build_node (IdeTreeBuilder *builder,
           icon_name = "lang-variable-symbolic";
           break;
 
+        case IDE_SYMBOL_ARRAY:
+        case IDE_SYMBOL_BOOLEAN:
+        case IDE_SYMBOL_CONSTANT:
+        case IDE_SYMBOL_CONSTRUCTOR:
+        case IDE_SYMBOL_FILE:
         case IDE_SYMBOL_HEADER:
+        case IDE_SYMBOL_INTERFACE:
+        case IDE_SYMBOL_MODULE:
+        case IDE_SYMBOL_NAMESPACE:
+        case IDE_SYMBOL_NUMBER:
         case IDE_SYMBOL_NONE:
+        case IDE_SYMBOL_PACKAGE:
+        case IDE_SYMBOL_PROPERTY:
+        case IDE_SYMBOL_STRING:
         default:
           icon_name = NULL;
           break;


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