URL:
https://github.com/SSSD/sssd/pull/5735
Title: #5735: util: Avoid an extern variable by using sss_chain_id_get()
pbrezina commented:
"""
We already have multiple extern debug variables. Removing this one with the cost of
splitting the implementation seems as unnecessary paranoia. Additionally, the main reason
that I access the variable directly inside sss_chain_id.c is to avoid unnecessary
functions calls since it has little impact in performance (negligible that's true, but
easily avoided) .
I'll leave it to others to decide. Also _get should be inlined.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5735#issuecomment-896682104