From 646a20da34f5fc77e701e0123c73c1879071ccf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Sun, 13 Apr 2014 19:47:56 +0200 Subject: [PATCH] Add missing break. This had no incidence on the code, but this change make things more consistent. --- examples/mifare-desfire-create-ndef.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/mifare-desfire-create-ndef.c b/examples/mifare-desfire-create-ndef.c index e95c860..d2a6ee6 100644 --- a/examples/mifare-desfire-create-ndef.c +++ b/examples/mifare-desfire-create-ndef.c @@ -153,7 +153,9 @@ main(int argc, char *argv[]) break; case 1: ndef_mapping = 2; + break; default: // newer version? let's assume it supports latest mapping too + warnx("Software version not supported. Assuming backward compatibility with version 1."); ndef_mapping = 2; } if (create_options.interactive) {