mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +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) {
|
if (sort) {
|
||||||
g_thread_pool_set_sort_function (pool,
|
g_thread_pool_set_sort_function (pool,
|
||||||
test_thread_sort_compare_func,
|
test_thread_sort_compare_func,
|
||||||
GUINT_TO_POINTER (69));
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < limit; i++) {
|
for (i = 0; i < limit; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user