From 2490f3c916c36eb49e0a3b1f3cf38f0a9eb517db Mon Sep 17 00:00:00 2001 From: Wilfredo Rodriguez Date: Fri, 3 Jul 2015 10:10:14 -0300 Subject: [PATCH] small fix redundant --- src/contentManager/contentManager.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/contentManager/contentManager.cpp b/src/contentManager/contentManager.cpp index 9f496ad..94fdf93 100644 --- a/src/contentManager/contentManager.cpp +++ b/src/contentManager/contentManager.cpp @@ -231,7 +231,6 @@ bool ContentManager::ListBooks(string &mode, string &sortBy, unsigned int maxSiz return this->manager.listBooks(listMode, listSortBy, maxSize, language.c_str(), publisher.c_str(), search.c_str()); } catch (exception &e) { cerr << e.what() << endl; - return false; } return false; } @@ -257,8 +256,7 @@ bool ContentManager::SetBookIndex(string &id, string &path, string &indexType) { return this->manager.setBookIndex(id.c_str(), path.c_str(), iType); } catch (exception &e) { - cerr << e.what() << endl; - return false; + cerr << e.what() << endl; } return false; @@ -268,8 +266,7 @@ bool ContentManager::SetBookPath(string &id, string &path) { try { return this->manager.setBookPath(id.c_str(), path.c_str()); } catch (exception &e) { - cerr << e.what() << endl; - return false; + cerr << e.what() << endl; } return false; }