remove switch-enum warnings

This commit is contained in:
Philippe Teuwen
2020-05-11 23:50:14 +02:00
parent 36c523659b
commit b46a99d7d7
8 changed files with 19 additions and 10 deletions

View File

@@ -775,7 +775,7 @@ static int CmdHFiClassELoad(const char *Cmd) {
res = loadFileJSON(filename, dump, 2048, &bytes_read);
break;
}
default:
case DICTIONARY:
PrintAndLogEx(ERR, "No dictionary loaded");
free(dump);
return PM3_ESOFT;