hwloc-calc: fix the computation of the amount o...
hwloc-calc: fix the computation of the amount o...

hwloc-calc: fix the computation of the amount of objects on the current level
(this prevents warnings because of unexisting objects)

This commit was SVN r3486.

ggouaillardet/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,shekkbuilder/hwloc