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

Fix CID 319119: Unchecked return value from library

Actually probably doesn't fix it, but what'evs
parent 570f6f5e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2883 passed
......@@ -1049,7 +1049,7 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
if(fexistcase(str2)) {
strListFree(&rcpt_list);
bputs(text[FileAlreadyThere]);
remove(msgpath);
(void)remove(msgpath);
return(false);
}
{ /* Remote */
......@@ -1065,7 +1065,7 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
if(ch==quit_key() || sys_status&SS_ABORT) {
bputs(text[Aborted]);
strListFree(&rcpt_list);
remove(msgpath);
(void)remove(msgpath);
return(false);
}
for(x=0;x<cfg.total_prots;x++)
......@@ -1084,7 +1084,7 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
else {
bprintf(text[FileNotReceived],title);
strListFree(&rcpt_list);
remove(msgpath);
(void)remove(msgpath);
return(false);
}
}
......
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