Take advantage of s_visit_page.
commit4668e696f06716f500c204ed2d2906f38afd862e
authorBernd Jendrissek <bernd@bpj-code.co.za>
Wed, 15 Feb 2017 01:17:02 +0000 (15 03:17 +0200)
committerBernd Jendrissek <bernd@bpj-code.co.za>
Wed, 15 Feb 2017 01:17:02 +0000 (15 03:17 +0200)
tree3784c1b4c565277e16545001518b8c434c7017f3
parente24fcd8bf5bc87139320c5ad1ddf8b2b2407fb70
Take advantage of s_visit_page.

s_visit_page will "look into" an OBJ_COMPLEX object, so these don't need
to be handled explicitly for their prim_objs. That leads to eliminating
an explicit recursive call, reducing the old function's callers to
exactly one site. Then inline the call to s_visit_page and avoid
defensive checks that only make sense in a called function.
libgeda/src/f_print.c