Commit 5188e2f040 for openssl.org

commit 5188e2f0405b7cd4e5ee1c458403fb4c6d4a37c7
Author: Eugene Syromiatnikov <esyr@openssl.org>
Date:   Sat Oct 10 00:08:36 2026 +0200

    test/quic_stream_test.c: remove unused tho_heap1024_total global variable

    msys-minigw64 workflow with clang compiler started to fail during build
    with the following diagnostics:

        test/quic_stream_test.c:3172:53: error: variable 'tho_heap1024_total' set but not used [-Werror,-Wunused-but-set-global]
         3172 | static size_t tho_heap1024_live, tho_heap1024_peak, tho_heap1024_total;
              |                                                     ^

    Remove the variable, as it seems that it indeed has no use
    in the current version of the test.

    Complements: 2d6c7ced4337 "tests: test_dstorage_cleanse() and test_heap_overlap()"
    Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: Milan Broz <mbroz@openssl.org>
    Reviewed-by: Neil Horman <nhorman@openssl.org>
    Merge-date: Sat Oct 10 16:16:22 2026
    Merged-from: https://github.com/openssl/openssl/pull/33180

diff --git a/test/quic_stream_test.c b/test/quic_stream_test.c
index 8268b74829..dbb666973d 100644
--- a/test/quic_stream_test.c
+++ b/test/quic_stream_test.c
@@ -3169,7 +3169,7 @@ DEFINE_LIST_OF(tho, THO_ALLOC_HDR);
 #define THO_N_SLIDES 256

 static size_t tho_reas_live, tho_reas_peak;
-static size_t tho_heap1024_live, tho_heap1024_peak, tho_heap1024_total;
+static size_t tho_heap1024_live, tho_heap1024_peak;
 static int tho_tracking;

 static OSSL_LIST(tho)
@@ -3207,7 +3207,6 @@ static void *tho_malloc(size_t sz, const char *file, int line)
             tho_reas_peak = tho_reas_live;
         if (sz == THO_FRAME_LEN) {
             tho_heap1024_live++;
-            tho_heap1024_total++;
             if (tho_heap1024_live > tho_heap1024_peak)
                 tho_heap1024_peak = tho_heap1024_live;
         }