Skip to content

Commit

Permalink
CLOUD: Add FIXME comment.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
digitall committed Jan 10, 2017
1 parent 3280953 commit df84aee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backends/cloud/cloudmanager.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit df84aee

Please sign in to comment.