From df84aee6a30bf1e2e652f0dfc6fa54aa95b1091d Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 10 Jan 2017 05:19:13 +0000 Subject: CLOUD: Add FIXME comment. This is generating a compiler warning for set-but-unused, but it looks as if this is meant to be used in some way i.e. code is unfinished or orphaned. --- backends/cloud/cloudmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backends/cloud') diff --git a/backends/cloud/cloudmanager.cpp b/backends/cloud/cloudmanager.cpp index 5f7d6942ca..4fb38ad779 100644 --- a/backends/cloud/cloudmanager.cpp +++ b/backends/cloud/cloudmanager.cpp @@ -272,6 +272,8 @@ void CloudManager::connectStorage(uint32 index, Common::String code) { // when the token is received, they call replaceStorage() // or removeStorage(), if some error occurred // thus, no memory leak happens + + // FIXME: storage is set, but never used. Should it be returned from this function for class variable _storages? } Networking::Request *CloudManager::listDirectory(Common::String path, Storage::ListDirectoryCallback callback, Networking::ErrorCallback errorCallback, bool recursive) { -- cgit v1.2.3