From 0571f0abad3f69912c7da3e6d8b11dc8cf088d69 Mon Sep 17 00:00:00 2001 From: "Sergio R. Z. Masson" <97050577+SergioRZMasson@users.noreply.github.com> Date: Wed, 11 Feb 2026 13:46:48 -0300 Subject: [PATCH] Replaced sizeof(exp) with a more static analysis frendly implementation. (#102) --- 3rdparty/nvtt/nvcore/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/nvtt/nvcore/debug.h b/3rdparty/nvtt/nvcore/debug.h index f92eb60..339fe1f 100644 --- a/3rdparty/nvtt/nvcore/debug.h +++ b/3rdparty/nvtt/nvcore/debug.h @@ -17,7 +17,7 @@ #define nvNoAssert(exp) \ NV_MULTI_LINE_MACRO_BEGIN \ - (void)sizeof(exp); \ + (void)(false && (exp)); \ NV_MULTI_LINE_MACRO_END #if NV_NO_ASSERT