From b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 13 Sep 2011 21:36:51 +0200 Subject: database: don't allow uri==NULL Add nonnull attributes and fix all callers. --- src/db_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db_print.c') diff --git a/src/db_print.c b/src/db_print.c index c4086a387..d398a22ac 100644 --- a/src/db_print.c +++ b/src/db_print.c @@ -286,7 +286,7 @@ listAllUniqueTags(struct client *client, int type, data.set = strset_new(); } - if (!db_walk(NULL, &unique_tags_visitor, &data, error_r)) { + if (!db_walk("", &unique_tags_visitor, &data, error_r)) { freeListCommandItem(item); return false; } -- cgit v1.2.3