Browse Source

Add missing return

Samuel Thibault 7 years ago
parent
commit
7db30aa9cb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/topology.c

+ 1 - 0
src/core/topology.c

@@ -132,6 +132,7 @@ static hwloc_obj_t numa_get_obj(hwloc_obj_t obj)
 		if (!obj)
 			return NULL;
 	}
+	return obj;
 #endif
 }
 static int numa_get_logical_id(hwloc_obj_t obj)