From 6d9ca62c0732630c03e6a266625805161a792116 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 4 Mar 2012 15:59:08 +0100 Subject: [PATCH] Add a missing return. --- database-plain.c | 1 + database-sqlite.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/database-plain.c b/database-plain.c index 991fbbc..c2656e8 100644 --- a/database-plain.c +++ b/database-plain.c @@ -180,6 +180,7 @@ plain_db_init(ZathuraPlainDatabase* db, const char* dir) if (priv->history == NULL) { goto error_free; } + return; error_free: diff --git a/database-sqlite.c b/database-sqlite.c index bc07f62..9b50b56 100644 --- a/database-sqlite.c +++ b/database-sqlite.c @@ -7,8 +7,6 @@ #include "database-sqlite.h" -#define DATABASE "bookmarks.sqlite" - static void zathura_database_interface_init(ZathuraDatabaseInterface* iface); G_DEFINE_TYPE_WITH_CODE(ZathuraSQLDatabase, zathura_sqldatabase, G_TYPE_OBJECT,