summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--type_decoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/type_decoder.c b/type_decoder.c
index 9e0a27c..e69b3c4 100644
--- a/type_decoder.c
+++ b/type_decoder.c
@@ -496,6 +496,8 @@ static int get_term_type(const char *v)
return SRD_TERM_EITHER_EDGE;
case 'n':
return SRD_TERM_NO_EDGE;
+ default:
+ return -1;
}
return -1;