From 1063fdbcba6ba170683dd7a9ad55f8e86eb45ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 12 Jun 2023 09:05:28 +0100 Subject: [PATCH] cid#318963 Uninitialized scalar field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Caolán McNamara Change-Id: I459f70a41e5c1bab2e575c8d9ee699e213f2456e --- kit/Delta.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kit/Delta.hpp b/kit/Delta.hpp index f8c6433f2..b6101d5b5 100644 --- a/kit/Delta.hpp +++ b/kit/Delta.hpp @@ -455,7 +455,9 @@ class DeltaGenerator { } public: - DeltaGenerator() {} + DeltaGenerator() + : _maxEntries(0) + {} /// Re-balances the cache size to fit the number of sessions void rebalanceDeltas(ssize_t limit = -1)