From 57b7e7780e28f5540dcc82cb20f4268d3dbd5d06 Mon Sep 17 00:00:00 2001 From: Tanvi Jagtap Date: Fri, 10 May 2024 05:15:53 -0700 Subject: [PATCH] [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT Replaced GPR_DEBUG_ASSERT with absl DCHECK. We dont need GPR_DEBUG_ASSERT definition anymore. PiperOrigin-RevId: 632463102 --- include/grpc/support/log.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/grpc/support/log.h b/include/grpc/support/log.h index 6e5cf4b7157..2cba30164ff 100644 --- a/include/grpc/support/log.h +++ b/include/grpc/support/log.h @@ -99,12 +99,6 @@ GPRAPI void gpr_assertion_failed(const char* filename, int line, } \ } while (0) -#ifndef NDEBUG -#define GPR_DEBUG_ASSERT(x) GPR_ASSERT(x) -#else -#define GPR_DEBUG_ASSERT(x) GPR_ASSERT(true || (x)) -#endif - #ifdef __cplusplus } #endif