diff options
Diffstat (limited to 'tools/perf/util/callchain.c')
-rw-r--r-- | tools/perf/util/callchain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c index 011473411642..3b8380f1b478 100644 --- a/tools/perf/util/callchain.c +++ b/tools/perf/util/callchain.c | |||
@@ -50,6 +50,7 @@ rb_insert_callchain(struct rb_root *root, struct callchain_node *chain, | |||
50 | else | 50 | else |
51 | p = &(*p)->rb_right; | 51 | p = &(*p)->rb_right; |
52 | break; | 52 | break; |
53 | case CHAIN_NONE: | ||
53 | default: | 54 | default: |
54 | break; | 55 | break; |
55 | } | 56 | } |
@@ -143,6 +144,7 @@ int register_callchain_param(struct callchain_param *param) | |||
143 | case CHAIN_FLAT: | 144 | case CHAIN_FLAT: |
144 | param->sort = sort_chain_flat; | 145 | param->sort = sort_chain_flat; |
145 | break; | 146 | break; |
147 | case CHAIN_NONE: | ||
146 | default: | 148 | default: |
147 | return -1; | 149 | return -1; |
148 | } | 150 | } |