From b1cb0ca155b14f38c20c46c0b9728e3c1f5443e2 Mon Sep 17 00:00:00 2001 From: Richard Chapman Date: Wed, 2 Oct 2024 10:10:25 +0100 Subject: [PATCH] HPCC-32439 Make all warnings into errors in Roxie subdirectory Changes following review Signed-off-by: Richard Chapman --- roxie/roxiemem/roxiemem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roxie/roxiemem/roxiemem.cpp b/roxie/roxiemem/roxiemem.cpp index 3807e78b4fe..6e4926a1593 100644 --- a/roxie/roxiemem/roxiemem.cpp +++ b/roxie/roxiemem/roxiemem.cpp @@ -8425,6 +8425,8 @@ class RoxieMemTests : public CppUnit::TestFixture for (unsigned pass=0; pass < 8; pass++) { + //numPagesAfterCleanup() also has the side-effect of freeing up any empty pages. + [[maybe_unused]] unsigned numPagesFull = rowManager->numPagesAfterCleanup(true); unsigned numRowsLeft = 0; unsigned target=0; for (unsigned i2 = 0; i2 < numRows; i2++)