[epiphany/mcatanzaro/cppcheck: 8/16] gsb-storage: avoid unread variable warning from cppcheck



commit 6daa593e3ac18b0a54bd1154cee573eef34c7f4e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Nov 17 10:32:17 2019 -0600

    gsb-storage: avoid unread variable warning from cppcheck

 lib/safe-browsing/ephy-gsb-storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/safe-browsing/ephy-gsb-storage.c b/lib/safe-browsing/ephy-gsb-storage.c
index 1d3068660..e1cc912c8 100644
--- a/lib/safe-browsing/ephy-gsb-storage.c
+++ b/lib/safe-browsing/ephy-gsb-storage.c
@@ -499,7 +499,7 @@ ephy_gsb_storage_constructed (GObject *object)
 
   if (!g_file_test (self->db_path, G_FILE_TEST_EXISTS)) {
     LOG ("GSB database does not exist, initializing...");
-    success = ephy_gsb_storage_init_db (self);
+    ephy_gsb_storage_init_db (self);
   } else {
     LOG ("GSB database exists, opening...");
     success = ephy_gsb_storage_open_db (self);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]