소스 검색

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)