aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2013-06-06 19:48:54 +0300
committerPekka Enberg <penberg@kernel.org>2013-06-06 19:48:54 +0300
commita269d70b3101a83ce6e19fe5d7eb8888adf1eebc (patch)
tree9303cd5e96afecf4b42159c3c1e59adec94b5da4
parentf25c20ab52ef98f784421298c99c0a211b50ad43 (diff)
downloadjato-a269d70b3101a83ce6e19fe5d7eb8888adf1eebc.tar.gz
cafebabe: Add default case to cafebabe_annotation_free()
Spotted by GCC: cafebabe/annotations_attribute.c: In function ‘cafebabe_annotation_free’: cafebabe/annotations_attribute.c:191:3: warning: switch missing default case [-Wswitch-default] Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r--cafebabe/annotations_attribute.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cafebabe/annotations_attribute.c b/cafebabe/annotations_attribute.c
index a56f1300..d3d1a1d8 100644
--- a/cafebabe/annotations_attribute.c
+++ b/cafebabe/annotations_attribute.c
@@ -192,6 +192,8 @@ cafebabe_annotation_free(struct cafebabe_annotation *a)
case ELEMENT_TYPE_ANNOTATION_TYPE:
free(ev->value.value.annotation_value);
break;
+ default:
+ break;
}
}
free(a->element_value_pairs);