diff --git a/src/sbbs3/netmail.cpp b/src/sbbs3/netmail.cpp index 6bde1c9e21ad7c5d7199f44a9a3e3ea1385e1a34..375fcf6081a4271360696f388dc84d71e0e3685a 100644 --- a/src/sbbs3/netmail.cpp +++ b/src/sbbs3/netmail.cpp @@ -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); } }