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.
This commit is contained in:
Colomban Wendling 2011-11-17 03:50:27 +01:00
parent 59eb0557b6
commit 80d5e07c6c

View File

@ -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 /* 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. */ * 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) foreach_ptr_array(name, i, top_level_iter_names)
{ {