mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[macOS] Remove unnecessary debug prints.
(cherry picked from commit 42a30c76d9
)
This commit is contained in:
parent
d23922ffeb
commit
577afedc40
1 changed files with 0 additions and 9 deletions
|
@ -53,21 +53,12 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
int first_arg = 1;
|
int first_arg = 1;
|
||||||
const char *dbg_arg = "-NSDocumentRevisionsDebugMode";
|
const char *dbg_arg = "-NSDocumentRevisionsDebugMode";
|
||||||
printf("arguments\n");
|
|
||||||
for (int i = 0; i < argc; i++) {
|
for (int i = 0; i < argc; i++) {
|
||||||
if (strcmp(dbg_arg, argv[i]) == 0) {
|
if (strcmp(dbg_arg, argv[i]) == 0) {
|
||||||
first_arg = i + 2;
|
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;
|
OS_MacOS os;
|
||||||
Error err;
|
Error err;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue