mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 12:18:18 +00:00
FS-11785: [core] help clang static analyzer understand this macro construct
This commit is contained in:
parent
67578abc79
commit
3870c0fc2a
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user