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

This commit is contained in:
Mike Jerris 2019-04-16 15:57:48 -06:00 committed by Andrey Volk
parent 67578abc79
commit 3870c0fc2a

View File

@ -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; \