Commit 719aeb23 authored by lliabraa@chromium.org's avatar lliabraa@chromium.org

Fix compile error in iossim.

A recent clang roll started causing the following warning:
../../../testing/iossim/iossim.mm:215:62: error: expression which evaluates to zero treated as a null pointer constant of type 'BOOL *' (aka 'signed char *') [-Werror,-Wnon-literal-null-conversion].

Just dropping the isDirectory parameter fixes the issue.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/10832399

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152425 0039d316-1c4b-4281-b951-d872f2087c98
parent e717d28d
...@@ -212,7 +212,7 @@ void LogWarning(NSString* format, ...) { ...@@ -212,7 +212,7 @@ void LogWarning(NSString* format, ...) {
// account for this case, check if the simulated app's stdio file was // account for this case, check if the simulated app's stdio file was
// ever created and if it exists dump it to stdout and return success. // ever created and if it exists dump it to stdout and return success.
NSFileManager* fileManager = [NSFileManager defaultManager]; NSFileManager* fileManager = [NSFileManager defaultManager];
if ([fileManager fileExistsAtPath:stdioPath_ isDirectory:NO]) { if ([fileManager fileExistsAtPath:stdioPath_]) {
appRunning_ = NO; appRunning_ = NO;
[self tailOutput]; [self tailOutput];
// Note that exiting in this state leaves a process running // Note that exiting in this state leaves a process running
......
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