Remove commented out logerror() calls
Probably ancient debug cruft.
This commit is contained in:
parent
cebba0587c
commit
1417a3442d
5 changed files with 3 additions and 23 deletions
|
@ -208,7 +208,6 @@ check_market(void)
|
|||
double gain;
|
||||
double price;
|
||||
|
||||
/* logerror("Checking the market.\n");*/
|
||||
for (n = 0; getcomm(n, &comm); n++) {
|
||||
if (comm.com_maxbidder == comm.com_owner || comm.com_owner == 0)
|
||||
continue;
|
||||
|
@ -268,6 +267,5 @@ check_market(void)
|
|||
comm.com_owner = 0;
|
||||
putcomm(n, &comm);
|
||||
}
|
||||
/* logerror("Done checking the market.\n");*/
|
||||
return RET_OK;
|
||||
}
|
||||
|
|
|
@ -283,7 +283,6 @@ check_trade(void)
|
|||
float price;
|
||||
int saveid;
|
||||
|
||||
/* logerror("Checking the trades.\n");*/
|
||||
for (n = 0; gettrade(n, &trade); n++) {
|
||||
if (trade.trd_unitid < 0)
|
||||
continue;
|
||||
|
@ -402,8 +401,7 @@ check_trade(void)
|
|||
"The bidding is over & you bought %s #%d from %s for $%.2f\n",
|
||||
trade_nameof(&trade, &tg), saveid, cname(trade.trd_owner),
|
||||
price);
|
||||
}
|
||||
/* logerror("Done checking the trades.\n");*/
|
||||
}
|
||||
return RET_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue