Fix for unused variable copilation warning in BookmarkService 44/49844/3
authorJanusz Majnert <j.majnert@samsung.com>
Mon, 19 Oct 2015 14:07:21 +0000 (16:07 +0200)
committerJanusz Majnert <j.majnert@samsung.com>
Wed, 21 Oct 2015 07:30:03 +0000 (00:30 -0700)
[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

index 68d1586..15dce85 100644 (file)
@@ -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;
     }