Ver código fonte

Add missing return

Samuel Thibault 7 anos atrás
pai
commit
7db30aa9cb
1 arquivos alterados com 1 adições e 0 exclusões
  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)