diff options
author | Alexander Tkachev | 2016-06-18 14:41:31 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | caa53d9f6c191eecf87dc646dac33be25cb98f16 (patch) | |
tree | 2a30a2aab6f202e13e59d279710f44cadbb17b7d /backends/networking | |
parent | 39eb76f8c2ea62520c29e76ee10d97c2a13f0f42 (diff) | |
download | scummvm-rg350-caa53d9f6c191eecf87dc646dac33be25cb98f16.tar.gz scummvm-rg350-caa53d9f6c191eecf87dc646dac33be25cb98f16.tar.bz2 scummvm-rg350-caa53d9f6c191eecf87dc646dac33be25cb98f16.zip |
CLOUD: Fix "-Wconversion-null"
That `false` came from TranslationManager's function, which was
returning bool, not a pointer. Somehow missed that line.
Diffstat (limited to 'backends/networking')
-rw-r--r-- | backends/networking/sdl_net/indexpagehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/indexpagehandler.cpp b/backends/networking/sdl_net/indexpagehandler.cpp index e459b3a47d..2d1f2c2cd7 100644 --- a/backends/networking/sdl_net/indexpagehandler.cpp +++ b/backends/networking/sdl_net/indexpagehandler.cpp @@ -107,7 +107,7 @@ Common::Archive *IndexPageHandler::getZipArchive() { if (ConfMan.hasKey("themepath")) { const Common::FSNode &node = Common::FSNode(ConfMan.get("themepath")); if (!node.exists() || !node.isReadable() || !node.isDirectory()) - return false; + return nullptr; Common::FSNode fileNode = node.getChild(ARCHIVE_NAME); if (fileNode.exists() && fileNode.isReadable() && !fileNode.isDirectory()) { |