[glib/wip/pwithnall/restore-macos-ci] tests: Remove unused variables from slice tests



commit 7f1b5c23c0e39d13462085ca39bb13d274a0cfd1
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]