From 8194f53eea45aa213edde0f2f94761a7a5fe60f0 Mon Sep 17 00:00:00 2001 From: Evgeny Malygin Date: Fri, 22 Mar 2024 17:08:38 +0000 Subject: [PATCH] Update bmqt_uri.cpp Signed-off-by: Evgeny Malygin --- src/groups/bmq/bmqt/bmqt_uri.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groups/bmq/bmqt/bmqt_uri.cpp b/src/groups/bmq/bmqt/bmqt_uri.cpp index 81eda02368..1ac8e852a4 100644 --- a/src/groups/bmq/bmqt/bmqt_uri.cpp +++ b/src/groups/bmq/bmqt/bmqt_uri.cpp @@ -192,8 +192,8 @@ void UriParser::initialize(bslma::Allocator* allocator) // conditional check below because the post-increment of an int does // not work correctly with versions of IBM xlc12 released following // the 'Dec 2015 PTF'. + BSLS_ASSERT(s_initialized < bsl::numeric_limits::max()); ++s_initialized; - BSLS_ASSERT(s_initialized > 0); if (s_initialized > 1) { return; // RETURN }