From f5dffc86312f75da3772d6fc0edf8268cbe64194 Mon Sep 17 00:00:00 2001 From: Janusz Majnert Date: Mon, 19 Oct 2015 16:07:21 +0200 Subject: [PATCH] Fix for unused variable copilation warning in BookmarkService [Issue] N/A [Problem] Compilation warning about unused variable [Solution] Remove the unneeded variable [Verification] Build the project and verify that there are no warnings from BookmarkService.cpp Change-Id: Id663552f0be06ce1c009c51864e9f06e23a485a5 --- services/BookmarkService/BookmarkService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/BookmarkService/BookmarkService.cpp b/services/BookmarkService/BookmarkService.cpp index 68d1586..15dce85 100644 --- a/services/BookmarkService/BookmarkService.cpp +++ b/services/BookmarkService/BookmarkService.cpp @@ -181,7 +181,7 @@ int BookmarkService::getBookmarkId(const std::string & url) int *ids = nullptr; int ids_count = 0; int i = 0; - int ret = bp_bookmark_adaptor_get_cond_ids_p(&ids, &ids_count, &properties, &conds, BP_BOOKMARK_O_URL, url.c_str(), 0); + bp_bookmark_adaptor_get_cond_ids_p(&ids, &ids_count, &properties, &conds, BP_BOOKMARK_O_URL, url.c_str(), 0); if (ids_count > 0){ i = *ids; } -- 2.7.4