# HG changeset patch # User Chris Cannam # Date 1409734711 -3600 # Node ID 613ee830de5e6a7ca8f3e7d9afc11995243b7bf8 # Parent fae5689f7e27c828aedb1060057d805f4fedcf4f Fix return of empty string as bool value (from coverity scan, interesting the compiler doesn't mind) diff -r fae5689f7e27 -r 613ee830de5e data/fileio/FileSource.cpp --- 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; } }