diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp index 52c39a7d4..a4d4ee5eb 100644 --- a/src/engine/client/text.cpp +++ b/src/engine/client/text.cpp @@ -132,9 +132,7 @@ public: struct STextString { int m_QuadBufferObjectIndex; - uint32_t m_DbgShadowBytes = 0x12345678; int m_QuadBufferContainerIndex; - uint32_t m_DbgShadowBytes2 = 0x87654321; size_t m_QuadNum; int m_SelectionQuadContainerIndex; @@ -1993,7 +1991,6 @@ public: dbg_msg("textrender", "The text container index was in use by %d ", (int)pTextContainer->m_ContainerIndex.m_UseCount.use_count()); HasNonEmptyTextContainer = true; // NOLINT(clang-analyzer-deadcode.DeadStores) } - dbg_assert(pTextContainer->m_StringInfo.m_DbgShadowBytes == STextString{}.m_DbgShadowBytes && pTextContainer->m_StringInfo.m_DbgShadowBytes2 == STextString{}.m_DbgShadowBytes2, "shadow bytes were modified in text container."); } dbg_assert(!HasNonEmptyTextContainer, "text container was not empty");