update: Drop redundant do_feed() parameter vec[]
Its caller passes sp->sct_item, so use that. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
51c5c65654
commit
26dc92e1b5
3 changed files with 20 additions and 16 deletions
|
@ -287,7 +287,7 @@ produce_sect(struct natstr *np, int etu, struct bp *bp, int p_sect[][2])
|
|||
sp->sct_updated = 1;
|
||||
work = 0;
|
||||
|
||||
do_feed(sp, np, sp->sct_item, &work, etu);
|
||||
do_feed(sp, np, &work, etu);
|
||||
bp_put_items(bp, sp);
|
||||
|
||||
if (sp->sct_off || np->nat_money < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue