int ugpos = uglistsize;
int r; /* IPC result code */
struct ctdlipcroom *room = NULL;
+ int rv = 0;
/* store ungoto information */
if (fromungoto == 0) {
}
color(DIM_WHITE);
if (!IsEmptyStr(rc_gotmail_cmd)) {
- system(rc_gotmail_cmd);
+ rv = system(rc_gotmail_cmd);
}
}
status_line(ipc->ServInfo.humannode, ipc->ServInfo.site_location,
struct ctdluser *myself = NULL;
CtdlIPC* ipc; /* Our server connection */
int r; /* IPC result code */
+ int rv = 0; /* fetch but ignore syscall return value to suppress warnings */
int relh=0;
int home=0;
scr_printf("*** You have %d new private messages in Mail>\n", b);
color(DIM_WHITE);
if (!IsEmptyStr(rc_gotmail_cmd)) {
- system(rc_gotmail_cmd);
+ rv = system(rc_gotmail_cmd);
}
}
if ((axlevel >= 6) && (chek.needvalid > 0)) {
FILE *tpipe = NULL;
int broken = 0;
int r;
+ int rv = 0;
void *file = NULL; /* The downloaded file */
size_t filelen = 0L; /* The downloaded file length */
screen_reset();
stty_ctdl(SB_RESTORE);
- system(transmit_cmd);
+ rv = system(transmit_cmd);
stty_ctdl(SB_NO_INTR);
screen_set();