aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-12 00:31:08 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-12 00:55:33 +0300
commit1658ccf1eca0bd161c1b8d55575e1099a4aa295e (patch)
tree2abce8ffba23b0f49e6d8d14b1c4b1cd48005488
parentd0303074a6f21b42198f13d86f2d02dd4f7caafa (diff)
downloadydb-1658ccf1eca0bd161c1b8d55575e1099a4aa295e.tar.gz
fix win warnings
-rw-r--r--util/system/yassert.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/util/system/yassert.h b/util/system/yassert.h
index 82f5af65bd..e27e76374c 100644
--- a/util/system/yassert.h
+++ b/util/system/yassert.h
@@ -68,9 +68,7 @@ inline void YaDebugBreak() {
} \
} while (false)
#else
- #define Y_HIT_DEBUGGER(a) \
- do { \
- } while (false)
+ #define Y_HIT_DEBUGGER() Y_SEMICOLON_GUARD
#endif
namespace NPrivate {