From 1c92415eddf14ca5a26dd66a095b230de1c6df00 Mon Sep 17 00:00:00 2001 From: therzok Date: Fri, 30 Aug 2019 12:09:14 +0300 Subject: Remove redundant strdup, seems like we don't need it --- main/build/MacOSX/monostub.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/build') 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]); -- cgit v1.2.3