diff options
author | therzok <marius.ungureanu@xamarin.com> | 2019-08-30 12:09:14 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2019-08-30 12:09:14 +0300 |
commit | 1c92415eddf14ca5a26dd66a095b230de1c6df00 (patch) | |
tree | a8a1c989398c5a46645d8e00b9a957c291af7099 /main | |
parent | 79e6ffc04b56de6196b75f26ef1095f03d879233 (diff) |
Remove redundant strdup, seems like we don't need it
Diffstat (limited to 'main')
-rw-r--r-- | main/build/MacOSX/monostub.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/build/MacOSX/monostub.mm b/main/build/MacOSX/monostub.mm index 5d2a8cb2da..942bde75a2 100644 --- a/main/build/MacOSX/monostub.mm +++ b/main/build/MacOSX/monostub.mm @@ -322,7 +322,7 @@ main (int argc, char **argv) int n = 0; new_argv[n++] = argv[0]; - new_argv[n++] = strdup("--debug"); + new_argv[n++] = (char*)"--debug"; NSString *exePath = [NSString stringWithFormat:@"%@/%@.exe", binDirFullPath, appName]; new_argv[n++] = strdup ([exePath UTF8String]); |