Mercurial > hg > svcore
changeset 962:613ee830de5e
Fix return of empty string as bool value (from coverity scan, interesting the compiler doesn't mind)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 09:58:31 +0100 |
parents | fae5689f7e27 |
children | 12e62865fd61 |
files | data/fileio/FileSource.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp Wed Sep 03 09:57:30 2014 +0100 +++ b/data/fileio/FileSource.cpp Wed Sep 03 09:58:31 2014 +0100 @@ -857,7 +857,7 @@ #ifdef DEBUG_FILE_SOURCE cerr << "FileSource::createCacheFile: ERROR: Failed to create temporary directory: " << f.what() << endl; #endif - return ""; + return false; } QString filepart = m_url.path().section('/', -1, -1, @@ -915,7 +915,7 @@ << m_url.toString() << "\" (or file already exists)" << endl; #endif - return ""; + return false; } }