make style

This commit is contained in:
Philippe Teuwen committed 2021-01-14 11:39:45 +01:00
1 parent 2fbdada593
commit f2bc066858
33 files changed
+4734 -5173

No files matched your search

+5 -5
View File
@@ -614,7 +614,7 @@ static int CmdSmartInfo(const char *Cmd) {
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
bool verbose = arg_get_lit(ctx, 1);
bool verbose = arg_get_lit(ctx, 1);
CLIParserFree(ctx);
clearCommandBuffer();
@@ -628,7 +628,7 @@ static int CmdSmartInfo(const char *Cmd) {
}
if (resp.status != PM3_SUCCESS) {
if (verbose) {
if (verbose) {
PrintAndLogEx(WARNING, "smart card select failed");
}
return PM3_ESOFT;
@@ -685,7 +685,7 @@ static int CmdSmartReader(const char *Cmd) {
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
bool verbose = arg_get_lit(ctx, 1);
bool verbose = arg_get_lit(ctx, 1);
CLIParserFree(ctx);
clearCommandBuffer();
@@ -700,7 +700,7 @@ static int CmdSmartReader(const char *Cmd) {
if (resp.status != PM3_SUCCESS) {
if (verbose) {
PrintAndLogEx(WARNING, "smart card select failed");
PrintAndLogEx(WARNING, "smart card select failed");
}
return PM3_ESOFT;
}
@@ -733,7 +733,7 @@ static int CmdSmartSetClock(const char *Cmd) {
bool c4 = arg_get_lit(ctx, 3);
CLIParserFree(ctx);
if ((c16 + c8 + c4) > 1 ) {
if ((c16 + c8 + c4) > 1) {
PrintAndLogEx(WARNING, "Only one clock speed can be used at a time");
return PM3_EINVARG;
}