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

Ignore remove() return value purposefully in this case.

Does this resolve Coverity warning? I don't rember.
parent e8ab27dc
No related branches found
No related tags found
No related merge requests found
......@@ -3567,7 +3567,7 @@ bool sbbs_t::init()
// remove any pending node messages
safe_snprintf(str, sizeof(str), "%smsgs/n%3.3u.msg",cfg.data_dir,cfg.node_num);
remove(str);
(void)remove(str);
// Delete any stale temporary files (with potentially sensitive content)
delfiles(cfg.temp_dir,ALLFILES);
safe_snprintf(str, sizeof(str), "%sMSGTMP", cfg.node_dir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment