[SSSD] [PATCH] Minor bugs found by clang