Move some return after some asserts to avoid some spurious warnings in corner cases
Move some return after some asserts to avoid some spurious warnings in corner cases

Stolen from OMPI trunk



git-svn-id: 14be032f8f42541b1a281b51ae8ea69814daf20e@4015 4b44e086-7f34-40ce-a3bd-00e031736276

BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc