mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Fix Clang warnings
This commit is contained in:
parent
77c5e28bce
commit
fa2595a619
2 changed files with 3 additions and 3 deletions
|
@ -97,8 +97,8 @@ class WorkerThread : public QThread {
|
||||||
~WorkerThread();
|
~WorkerThread();
|
||||||
void run();
|
void run();
|
||||||
private:
|
private:
|
||||||
char *script_cmds_file = NULL;
|
char *script_cmds_file;
|
||||||
char *script_cmd = NULL;
|
char *script_cmd;
|
||||||
};
|
};
|
||||||
|
|
||||||
class ProxGuiQT : public QObject {
|
class ProxGuiQT : public QObject {
|
||||||
|
|
|
@ -388,7 +388,7 @@ int main(int argc, char *argv[]) {
|
||||||
show_help(false, exec_name);
|
show_help(false, exec_name);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
uint32_t tmpspeed = strtoul(argv[i + 1], NULL, 10);
|
uint64_t tmpspeed = strtoul(argv[i + 1], NULL, 10);
|
||||||
if ((tmpspeed == ULONG_MAX) || (tmpspeed == 0)) {
|
if ((tmpspeed == ULONG_MAX) || (tmpspeed == 0)) {
|
||||||
PrintAndLogEx(ERR, _RED_("ERROR:") "invalid baudrate: -b " _YELLOW_("%s") "\n", argv[i + 1]);
|
PrintAndLogEx(ERR, _RED_("ERROR:") "invalid baudrate: -b " _YELLOW_("%s") "\n", argv[i + 1]);
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue