[epiphany/mcatanzaro/cppcheck: 8/11] gsb-storage: avoid unread variable warning from cppcheck
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/cppcheck: 8/11] gsb-storage: avoid unread variable warning from cppcheck
- Date: Sun, 17 Nov 2019 17:45:42 +0000 (UTC)
commit 6ad99ddac77997138ec4f497e9d736643e424ede
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]