Browse Source

[macOS] Remove unnecessary debug prints.

bruvzg 2 years ago
parent
commit
42a30c76d9
1 changed files with 0 additions and 9 deletions
  1. 0 9
      platform/macos/godot_main_macos.mm

+ 0 - 9
platform/macos/godot_main_macos.mm

@@ -53,21 +53,12 @@ int main(int argc, char **argv) {
 
 	int first_arg = 1;
 	const char *dbg_arg = "-NSDocumentRevisionsDebugMode";
-	printf("arguments\n");
 	for (int i = 0; i < argc; i++) {
 		if (strcmp(dbg_arg, argv[i]) == 0) {
 			first_arg = i + 2;
 		}
-		printf("%i: %s\n", i, argv[i]);
 	}
 
-#ifdef DEBUG_ENABLED
-	// Lets report the path we made current after all that.
-	char cwd[4096];
-	getcwd(cwd, 4096);
-	printf("Current path: %s\n", cwd);
-#endif
-
 	OS_MacOS os;
 	Error err;