mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 07:26:01 +01:00
Add a missing return.
This commit is contained in:
parent
4b559e585b
commit
6d9ca62c07
2 changed files with 1 additions and 2 deletions
|
@ -180,6 +180,7 @@ plain_db_init(ZathuraPlainDatabase* db, const char* dir)
|
||||||
if (priv->history == NULL) {
|
if (priv->history == NULL) {
|
||||||
goto error_free;
|
goto error_free;
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
|
|
||||||
error_free:
|
error_free:
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
#include "database-sqlite.h"
|
#include "database-sqlite.h"
|
||||||
|
|
||||||
#define DATABASE "bookmarks.sqlite"
|
|
||||||
|
|
||||||
static void zathura_database_interface_init(ZathuraDatabaseInterface* iface);
|
static void zathura_database_interface_init(ZathuraDatabaseInterface* iface);
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_CODE(ZathuraSQLDatabase, zathura_sqldatabase, G_TYPE_OBJECT,
|
G_DEFINE_TYPE_WITH_CODE(ZathuraSQLDatabase, zathura_sqldatabase, G_TYPE_OBJECT,
|
||||||
|
|
Loading…
Reference in a new issue