[libfreefare] push by romain.t...@gmail.com - Add missing break.... on 2014-04-13 17:48 GMT

0 views
Skip to first unread message

libfr...@googlecode.com

unread,
Apr 13, 2014, 1:49:08 PM4/13/14
to nfc-tool...@googlegroups.com
Revision: 646a20da34f5
Author: Romain Tartière <rom...@blogreen.org>
Date: Sun Apr 13 17:47:56 2014 UTC
Log: Add missing break.

This had no incidence on the code, but this change make things more
consistent.

http://code.google.com/p/libfreefare/source/detail?r=646a20da34f5

Modified:
/examples/mifare-desfire-create-ndef.c

=======================================
--- /examples/mifare-desfire-create-ndef.c Sat Mar 30 17:07:34 2013 UTC
+++ /examples/mifare-desfire-create-ndef.c Sun Apr 13 17:47:56 2014 UTC
@@ -153,7 +153,9 @@
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) {
Reply all
Reply to author
Forward
0 new messages