Commit 14d23dd2 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

iossim_1_8_2: fix compiler warning



Change-Id: I23701fe8c9934f0ad661f6c7458179eb5ab44504
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent d14b2850
...@@ -491,7 +491,7 @@ NSString *deviceIpadRetina = @"iPad (Retina)"; ...@@ -491,7 +491,7 @@ NSString *deviceIpadRetina = @"iPad (Retina)";
} else if (strcmp(argv[i], "--env") == 0) { } else if (strcmp(argv[i], "--env") == 0) {
i++; i++;
NSString *envFilePath = [[NSString stringWithUTF8String:argv[i]] expandPath]; NSString *envFilePath = [[NSString stringWithUTF8String:argv[i]] expandPath];
environment = [NSDictionary dictionaryWithContentsOfFile:envFilePath]; environment = [NSMutableDictionary dictionaryWithContentsOfFile:envFilePath];
if (!environment) { if (!environment) {
fprintf(stdout, "<msg>Could not read environment from file: %s</msg>\n", argv[i]); fprintf(stdout, "<msg>Could not read environment from file: %s</msg>\n", argv[i]);
[self printUsage]; [self printUsage];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment