1
0
Fork 0

Merge pull request #74911 from bruvzg/macos_no_dbg_print

[macOS] Remove unnecessary debug prints.
This commit is contained in:
Rémi Verschelde 2023-03-14 18:03:48 -07:00 committed by GitHub
commit 716f508966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -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;