From 9d82d598f051d154e03cf87b4f3c880b7c8e56a4 Mon Sep 17 00:00:00 2001 From: Marcos Vives Del Sol Date: Sat, 21 Feb 2015 23:04:06 +0100 Subject: [PATCH] Fix "missing return" compiler warnings --- libnfc/nfc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libnfc/nfc.c b/libnfc/nfc.c index 4294367..2820a14 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -1307,6 +1307,8 @@ str_nfc_baud_rate(const nfc_baud_rate nbr) case NBR_847: return "847 kbps"; } + + return "???"; } /** @ingroup string-converter @@ -1335,6 +1337,8 @@ str_nfc_modulation_type(const nfc_modulation_type nmt) case NMT_DEP: return "D.E.P."; } + + return "???"; } /** @ingroup string-converter