From 1ed62388dc82f03d6d5b89c7ec2193d825ebbf4f Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Tue, 10 Apr 2018 18:20:58 -0700 Subject: [PATCH] Revert change to GPR_ASSERT --- include/grpc/support/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grpc/support/log.h b/include/grpc/support/log.h index fdd963a4816..2236703db35 100644 --- a/include/grpc/support/log.h +++ b/include/grpc/support/log.h @@ -91,7 +91,7 @@ GPRAPI void gpr_set_log_function(gpr_log_func func); an exception in a higher-level language, consider returning error code. */ #define GPR_ASSERT(x) \ do { \ - if (GPR_UNLIKELY(!(x))) { \ + if (!(x)) { \ gpr_log(GPR_ERROR, "assertion failed: %s", #x); \ abort(); \ } \