[glib/wip/pwithnall/restore-macos-ci: 97/98] tests: Remove unused variables from slice tests
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/restore-macos-ci: 97/98] tests: Remove unused variables from slice tests
- Date: Tue, 7 Jun 2022 17:27:26 +0000 (UTC)
commit 0e1b4107796f5f3bacf960138b943f2e1e944819
Author: Philip Withnall <pwithnall endlessos org>
Date: Fri May 27 15:39:10 2022 +0100
tests: Remove unused variables from slice tests
Signed-off-by: Philip Withnall <pwithnall endlessos org>
glib/tests/slice-glib.c | 1 -
glib/tests/slice-malloc.c | 1 -
glib/tests/slice-slab.c | 1 -
3 files changed, 3 deletions(-)
---
diff --git a/glib/tests/slice-glib.c b/glib/tests/slice-glib.c
index 844d8e1ae4..6d2f44895f 100644
--- a/glib/tests/slice-glib.c
+++ b/glib/tests/slice-glib.c
@@ -26,7 +26,6 @@
(rand_accu = 1664525 * rand_accu + 1013904223, rand_accu)
static guint prime_size = 1021; /* 769; 509 */
-static gboolean clean_memchunks = FALSE;
static guint number_of_blocks = 10000; /* total number of blocks allocated */
static guint number_of_repetitions = 10000; /* number of alloc+free repetitions */
static gboolean want_corruption = FALSE;
diff --git a/glib/tests/slice-malloc.c b/glib/tests/slice-malloc.c
index 5d3b6e6579..1f51ba54dd 100644
--- a/glib/tests/slice-malloc.c
+++ b/glib/tests/slice-malloc.c
@@ -26,7 +26,6 @@
(rand_accu = 1664525 * rand_accu + 1013904223, rand_accu)
static guint prime_size = 1021; /* 769; 509 */
-static gboolean clean_memchunks = FALSE;
static guint number_of_blocks = 10000; /* total number of blocks allocated */
static guint number_of_repetitions = 10000; /* number of alloc+free repetitions */
static gboolean want_corruption = FALSE;
diff --git a/glib/tests/slice-slab.c b/glib/tests/slice-slab.c
index cee92bf073..c3567907f5 100644
--- a/glib/tests/slice-slab.c
+++ b/glib/tests/slice-slab.c
@@ -26,7 +26,6 @@
(rand_accu = 1664525 * rand_accu + 1013904223, rand_accu)
static guint prime_size = 1021; /* 769; 509 */
-static gboolean clean_memchunks = FALSE;
static guint number_of_blocks = 10000; /* total number of blocks allocated */
static guint number_of_repetitions = 10000; /* number of alloc+free repetitions */
static gboolean want_corruption = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]