summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-03-19 13:51:31 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-03-19 13:52:57 -0500
commitd6e78f78287599c94dde744e1b856b27f6d1b884 (patch)
treeba3bd4ffd09eb7e98e6e3c39c0f0eea6148688ba
parent9a398a1087ebf3c327dcd3ed8191da33fc0d361b (diff)
downloadofono-d6e78f78287599c94dde744e1b856b27f6d1b884.tar.bz2
Trivial: Add break statement
In case we ever extend the enum/switch and unwittingly introduce a bug.
-rw-r--r--src/common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index e67a6550..32b64d49 100644
--- a/src/common.c
+++ b/src/common.c
@@ -612,6 +612,9 @@ gboolean is_valid_pin(const char *pin, enum pin_type type)
case PIN_TYPE_NONE:
if (i < 8)
return TRUE;
+ break;
+ default:
+ break;
}
return FALSE;