Skip to content
Snippets Groups Projects
Commit c045c2d6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve GCC warning

parent a57998b2
No related branches found
No related tags found
No related merge requests found
Pipeline #7632 passed
...@@ -2274,7 +2274,7 @@ const char* sbbs_t::atcode(const char* sp, char* str, size_t maxlen, int* pmode, ...@@ -2274,7 +2274,7 @@ const char* sbbs_t::atcode(const char* sp, char* str, size_t maxlen, int* pmode,
return str; return str;
} }
if(strcmp(sp, "FILE_WEB_PATH") == 0) { if(strcmp(sp, "FILE_WEB_PATH") == 0) {
char* p = ""; const char* p = "";
if(cfg.dir[current_file->dir]->vpath[0] == '\0') { if(cfg.dir[current_file->dir]->vpath[0] == '\0') {
p = startup->web_file_vpath_prefix; p = startup->web_file_vpath_prefix;
if(*p == '/') if(*p == '/')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment