소스 검색

fixes build error on Linux after its introduction in #18949

The function expects now a return value. Returning NULL seems to work in
this case.
Michele Valente 7 년 전
부모
커밋
6c74f3de6d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      modules/mono/editor/godotsharp_builds.cpp

+ 2 - 2
modules/mono/editor/godotsharp_builds.cpp

@@ -128,12 +128,12 @@ MonoString *godot_icall_BuildInstance_get_MSBuildPath() {
 	if (build_tool == GodotSharpBuilds::XBUILD) {
 		if (xbuild_path.empty()) {
 			WARN_PRINT("Cannot find binary for '" PROP_NAME_XBUILD "'");
-			return;
+			return NULL;
 		}
 	} else {
 		if (msbuild_path.empty()) {
 			WARN_PRINT("Cannot find binary for '" PROP_NAME_MSBUILD_MONO "'");
-			return;
+			return NULL;
 		}
 	}