diff options
author | lliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 23:44:24 +0000 |
---|---|---|
committer | lliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 23:44:24 +0000 |
commit | 719aeb237196158cce6f23101d352a6fb89f8979 (patch) | |
tree | e826c1eaf62c73836d660b247123942d8e6d49dd /testing | |
parent | e717d28d17331078b28053fa1f0b19012440ad40 (diff) | |
download | chromium_src-719aeb237196158cce6f23101d352a6fb89f8979.zip chromium_src-719aeb237196158cce6f23101d352a6fb89f8979.tar.gz chromium_src-719aeb237196158cce6f23101d352a6fb89f8979.tar.bz2 |
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
Diffstat (limited to 'testing')
-rw-r--r-- | testing/iossim/iossim.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/iossim/iossim.mm b/testing/iossim/iossim.mm index f5b5fd7..2cef4f3 100644 --- a/testing/iossim/iossim.mm +++ b/testing/iossim/iossim.mm @@ -212,7 +212,7 @@ void LogWarning(NSString* format, ...) { // 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. NSFileManager* fileManager = [NSFileManager defaultManager]; - if ([fileManager fileExistsAtPath:stdioPath_ isDirectory:NO]) { + if ([fileManager fileExistsAtPath:stdioPath_]) { appRunning_ = NO; [self tailOutput]; // Note that exiting in this state leaves a process running |