Add missing switch case
Fix build issue: ``` /tmp/libfreefare/libfreefare/freefare.c:172:13: error: enumeration value 'NMT_BARCODE' not handled in switch [-Werror,-Wswitch] switch (tag->info.nm.nmt) { ^ 1 error generated. ```
This commit is contained in:
parent
ba63f18d8e
commit
3d1e58b3dc
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ freefare_get_tag_uid(FreefareTag tag)
|
||||||
case NMT_ISO14443B:
|
case NMT_ISO14443B:
|
||||||
case NMT_ISO14443BI:
|
case NMT_ISO14443BI:
|
||||||
case NMT_JEWEL:
|
case NMT_JEWEL:
|
||||||
|
case NMT_BARCODE:
|
||||||
res = strdup("UNKNOWN");
|
res = strdup("UNKNOWN");
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue