diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-04-06 18:30:11 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-04-11 12:58:35 -0500 |
commit | 8d323c74fa60fd1eb411336753ef4052faf7b309 (patch) | |
tree | a16d5358825ee97c872fa8492a6a89473b00859d /main/stun.c | |
parent | 5b4e2ec2677bff5c0e9814795e433d914f52bf7f (diff) |
sorcery.c: Speed up ast_sorcery_retrieve_by_id()
Return early if ast_sorcery_retrieve_by_id() is not passed an id to find.
Also eliminated the RAII_VAR() usage in the function.
Change-Id: I871dbe162a301b5ced8b4393cec27180c7c6b218
Diffstat (limited to 'main/stun.c')
0 files changed, 0 insertions, 0 deletions