mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-30 19:40:37 -07:00
Handle explicitly enum vals in switch [-Wswitch-enum]
This commit is contained in:
parent
b6ee94ec8e
commit
ce606b51fc
6 changed files with 43 additions and 17 deletions
|
@ -238,7 +238,11 @@ static int ndefDecodePayload(NDEFHeader_t *ndef) {
|
|||
PrintAndLogEx(NORMAL, "\ttype: %.*s", ndef->TypeLen, ndef->Type);
|
||||
PrintAndLogEx(NORMAL, "\tpayload: %.*s", ndef->PayloadLen, ndef->Payload);
|
||||
break;
|
||||
default:
|
||||
case tnfEmptyRecord:
|
||||
case tnfMIMEMediaRecord:
|
||||
case tnfExternalRecord:
|
||||
case tnfUnchangedRecord:
|
||||
case tnfUnknownRecord:
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue