aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/seen-db.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/seen-db.c b/src/seen-db.c
index 0d08801..57765cc 100644
--- a/src/seen-db.c
+++ b/src/seen-db.c
@@ -34,9 +34,7 @@ guint write_process = 0;
void
seen_db_init(void)
{
- if (seendb != NULL) {
- return;
- }
+ g_return_if_fail(seendb == NULL);
seendb = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);