Fix typo and gcc-7 warnings (#401)

* Fix typo in hf mf csave help
* Fix gcc 7 warning: '~' on an expression of type bool [-Wbool-operation], use logical ! not instead of ~
* Fix gcc 7 warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
* Fix gcc 7 warning: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
This commit is contained in:
Fl0-0 2017-09-26 16:36:05 +02:00 committed by pwpiwi
commit a2d058f3aa
4 changed files with 11 additions and 11 deletions

View file

@ -2193,13 +2193,13 @@ int CmdHF14AMfCSave(const char *Cmd) {
if (param_getchar(Cmd, 0) == 'h') {
PrintAndLog("It saves `magic Chinese` card dump into the file `filename.eml` or `cardID.eml`");
PrintAndLog("or into emulator memory (option `e`). 4K card: (option `4`)");
PrintAndLog("Usage: hf mf esave [file name w/o `.eml`][e][4]");
PrintAndLog("Sample: hf mf esave ");
PrintAndLog(" hf mf esave filename");
PrintAndLog(" hf mf esave e");
PrintAndLog(" hf mf esave 4");
PrintAndLog(" hf mf esave filename 4");
PrintAndLog(" hf mf esave e 4");
PrintAndLog("Usage: hf mf csave [file name w/o `.eml`][e][4]");
PrintAndLog("Sample: hf mf csave ");
PrintAndLog(" hf mf csave filename");
PrintAndLog(" hf mf csave e");
PrintAndLog(" hf mf csave 4");
PrintAndLog(" hf mf csave filename 4");
PrintAndLog(" hf mf csave e 4");
return 0;
}