Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortherzok <marius.ungureanu@xamarin.com>2019-08-30 12:09:14 +0300
committertherzok <marius.ungureanu@xamarin.com>2019-08-30 12:09:14 +0300
commit1c92415eddf14ca5a26dd66a095b230de1c6df00 (patch)
treea8a1c989398c5a46645d8e00b9a957c291af7099 /main/build
parent79e6ffc04b56de6196b75f26ef1095f03d879233 (diff)
Remove redundant strdup, seems like we don't need it
Diffstat (limited to 'main/build')
-rw-r--r--main/build/MacOSX/monostub.mm2
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]);