mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
tests/thread-pool-slow: do not pass confusing value to sort function
That value isn't used by the callback. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
2df5acf60a
commit
99847d36ed
@ -274,7 +274,7 @@ test_thread_sort (gboolean sort)
|
||||
if (sort) {
|
||||
g_thread_pool_set_sort_function (pool,
|
||||
test_thread_sort_compare_func,
|
||||
GUINT_TO_POINTER (69));
|
||||
NULL);
|
||||
}
|
||||
|
||||
for (i = 0; i < limit; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user