瀏覽代碼

Add missing return

Samuel Thibault 7 年之前
父節點
當前提交
7db30aa9cb
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)