Don't cast void to void.
This commit is contained in:
parent
262e1bafba
commit
7c52730439
4 changed files with 12 additions and 12 deletions
|
@ -215,7 +215,7 @@ explore(void)
|
|||
}
|
||||
|
||||
if (!player->god && !player->owner && sect.sct_type != SCT_SANCT) {
|
||||
(void)takeover(§, player->cnum);
|
||||
takeover(§, player->cnum);
|
||||
justtook = 1;
|
||||
sect.sct_oldown = own;
|
||||
sect.sct_work = work;
|
||||
|
|
|
@ -106,9 +106,9 @@ new(void)
|
|||
} else {
|
||||
(void)time(&now);
|
||||
#if !defined(_WIN32)
|
||||
(void)srandom(now);
|
||||
srandom(now);
|
||||
#else
|
||||
(void)srand(now);
|
||||
srand(now);
|
||||
#endif
|
||||
for (i = 0; i < 300 && !player->aborted; i++) {
|
||||
/* Both x and y should be either odd or even */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue