mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
proxmark.c: warnings discarded qualifiers
This commit is contained in:
parent
d5a68ac292
commit
11b954b6bd
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ main_loop(char *script_cmds_file, char *script_cmd, bool stayInCommandLoop) {
|
||||||
// loops every time enter is pressed...
|
// loops every time enter is pressed...
|
||||||
while (1) {
|
while (1) {
|
||||||
bool printprompt = false;
|
bool printprompt = false;
|
||||||
char *prompt = PROXPROMPT;
|
const char *prompt = PROXPROMPT;
|
||||||
|
|
||||||
check_script:
|
check_script:
|
||||||
// If there is a script file
|
// If there is a script file
|
||||||
|
@ -321,7 +321,7 @@ static void set_my_executable_path(void) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *my_user_directory = NULL;
|
static const char *my_user_directory = NULL;
|
||||||
|
|
||||||
const char *get_my_user_directory(void) {
|
const char *get_my_user_directory(void) {
|
||||||
return my_user_directory;
|
return my_user_directory;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue