mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
coverty finds this a deadcode, cppchecker complains...
This commit is contained in:
parent
145a031922
commit
a6e4b03c28
1 changed files with 0 additions and 5 deletions
|
@ -853,11 +853,6 @@ static int setCmdSavePaths(const char *Cmd) {
|
|||
path = trace_path;
|
||||
}
|
||||
|
||||
if (path == NULL) {
|
||||
PrintAndLogEx(FAILED, "Must give at least one path");
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
// remove trailing slash.
|
||||
size_t nplen = strlen(path);
|
||||
if ((path[nplen - 1] == '/') || (path[nplen - 1] == '\\')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue