]> git.pond.sub.org Git - empserver/commit
Inline get_land()'s "first time" case into its callers
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Jan 2010 07:53:25 +0000 (08:53 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 19 Jan 2010 07:37:05 +0000 (08:37 +0100)
commitb824495badb802fca3a7bd7a4524111c425e049c
tree85d0478c88908ac9fa42e39d47cac413890dee5c
parentef7ea8934ffc7a7d480ee985ffa0b8908e05bb07
Inline get_land()'s "first time" case into its callers

ask_olist() and get_dlist() called get_land() with llp->chrp still
null, which made it initialize parts of llp instead of performing its
usual integrity check.  att_reacting_units() had the initialization
inline.  Change the other two to match, and simplify get_land().  No
functional change.
src/lib/subs/attsub.c