Mercurial > hg > early-roguelike
comparison xrogue/rip.c @ 308:13b482bd9e66
Fix a few more miscellaneous compiler warnings.
author | John "Elwin" Edwards |
---|---|
date | Sat, 01 May 2021 09:51:30 -0400 |
parents | e52a8a7ad4c5 |
children |
comparison
equal
deleted
inserted
replaced
307:32bc72dcbf4f | 308:13b482bd9e66 |
---|---|
418 | 418 |
419 if (update(top_ten, amount, (short) quest_item, whoami, flags, | 419 if (update(top_ten, amount, (short) quest_item, whoami, flags, |
420 (flags == WINNER) ? (short) max_level : (short) level, | 420 (flags == WINNER) ? (short) max_level : (short) level, |
421 monst, player.t_ctype, thissys, login) | 421 monst, player.t_ctype, thissys, login) |
422 ) { | 422 ) { |
423 #ifdef NETCOMMAND | |
423 /* Send this update to the other systems in the network */ | 424 /* Send this update to the other systems in the network */ |
424 int i, j; | 425 int i, j; |
425 char cmd[256]; /* Command for remote execution */ | 426 char cmd[256]; /* Command for remote execution */ |
426 FILE *rmf, *popen(); /* For input to remote command */ | 427 FILE *rmf, *popen(); /* For input to remote command */ |
427 | 428 |
470 | 471 |
471 /* Close off the command */ | 472 /* Close off the command */ |
472 (void) pclose(rmf); | 473 (void) pclose(rmf); |
473 } | 474 } |
474 } | 475 } |
476 #endif | |
475 } | 477 } |
476 } | 478 } |
477 } | 479 } |
478 | 480 |
479 /* | 481 /* |