From 80d5e07c6cbdf640abec0cc923cbdd6cfa63b73d Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Thu, 17 Nov 2011 03:50:27 +0100 Subject: [PATCH] Revert granting an unexpected check to an assertion It actually happens, and until fixing this properly, don't output useless useless scary warnings. Anyway, this is not a big problem or anything. --- src/symbols.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/symbols.c b/src/symbols.c index 0accf827..14bf6053 100644 --- a/src/symbols.c +++ b/src/symbols.c @@ -1392,7 +1392,8 @@ static gint compare_top_level_names(const gchar *a, const gchar *b) /* This should never happen as it would mean that two or more top * level items have the same name but it can happen by typos in the translations. */ - g_return_val_if_fail(! utils_str_equal(a, b), 1); + if (utils_str_equal(a, b)) + return 1; foreach_ptr_array(name, i, top_level_iter_names) {