aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2017-07-22 09:45:54 +0200
committerMarcel Holtmann <marcel@holtmann.org>2017-07-22 09:45:54 +0200
commit42de038fea49ae15d2d3646416c73befaddbbfaf (patch)
tree3928f79eba984f5d217d1c15e9626e074b334460
parentd87560c8a653185caf16f81ac693001056a2c677 (diff)
downloadneard-42de038fea49ae15d2d3646416c73befaddbbfaf.tar.gz
ndef: Fix missing handling of fall through case
-rw-r--r--src/ndef.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ndef.c b/src/ndef.c
index 5656baf..888ec95 100644
--- a/src/ndef.c
+++ b/src/ndef.c
@@ -923,7 +923,8 @@ static enum record_type get_record_type(enum record_tnf tnf,
else
return RECORD_TYPE_UNKNOWN;
- }
+ } else
+ return RECORD_TYPE_UNKNOWN;
case RECORD_TNF_MIME:
return RECORD_TYPE_MIME_TYPE;