From b4e9e35e07538a118588742aff6fd4a7a2b4d600 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Thu, 14 Jul 2016 09:19:12 +0600 Subject: CLOUD: Cleanup in Storages --- backends/cloud/id/idstorage.cpp | 11 ----------- backends/cloud/id/idstorage.h | 1 - 2 files changed, 12 deletions(-) (limited to 'backends/cloud/id') diff --git a/backends/cloud/id/idstorage.cpp b/backends/cloud/id/idstorage.cpp index 3aeb5146cd..28f880522e 100644 --- a/backends/cloud/id/idstorage.cpp +++ b/backends/cloud/id/idstorage.cpp @@ -35,17 +35,6 @@ namespace Id { IdStorage::~IdStorage() {} -void IdStorage::printJson(Networking::JsonResponse response) { - Common::JSONValue *json = response.value; - if (!json) { - warning("printJson: NULL"); - return; - } - - debug("%s", json->stringify().c_str()); - delete json; -} - void IdStorage::printFiles(FileArrayResponse response) { debug("files:"); Common::Array &files = response.value; diff --git a/backends/cloud/id/idstorage.h b/backends/cloud/id/idstorage.h index 88853e4ad8..ccadc0e455 100644 --- a/backends/cloud/id/idstorage.h +++ b/backends/cloud/id/idstorage.h @@ -45,7 +45,6 @@ namespace Id { class IdStorage: public Cloud::Storage { protected: - void printJson(Networking::JsonResponse response); void printFiles(FileArrayResponse response); void printBool(BoolResponse response); void printFile(UploadResponse response); -- cgit v1.2.3