提交 3870c0fc authored 作者: Mike Jerris's avatar Mike Jerris 提交者: Andrey Volk

FS-11785: [core] help clang static analyzer understand this macro construct

上级 67578abc
......@@ -213,6 +213,7 @@ extern switch_io_event_hooks_t switch_core_session_get_event_hooks(switch_core_s
if (! session->event_hooks._NAME ) { \
session->event_hooks._NAME = hook; \
} else { \
switch_assert(ptr); \
ptr->next = hook; \
} \
return SWITCH_STATUS_SUCCESS; \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论