ehlo,
scan-build found a warning.
src/providers/krb5/krb5_child.c:1988:9: error: ‘offline’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
ret = k5c_setup(kr, offline);
gcc also reports this warning with enabled optimization >= "-O2".
It seems to me really weird, because compilator assumes that function
sss_atomic_read_s return value -1 and errno==0.
I tried to modify function sss_atomic_read_s, but I could not fix this warning.
Another possible solution is to initialize variable "offline" to some default
value.
I appreciate any comment.
Patch is attached.
LS