[SSSD] [PATCH] MONITOR: Fix warning may be used uninitialized

Michal Židek mzidek at redhat.com
Thu Oct 23 12:14:03 UTC 2014


On 10/23/2014 11:36 AM, Lukas Slebodnik wrote:
> ehlo,
>
> src/monitor/monitor.c: In function ‘main’:
> src/monitor/monitor.c:2953:24: error: ‘monitor’ may be used uninitialized
>                                 in this function [-Werror=maybe-uninitialized]
>       monitor->is_daemon = !opt_interactive;
>                          ^
> cc1: all warnings being treated as errors
>
> This warning is caused be change 579e5d4b7a3ca161ea7518b2996905fa22c15995
> "MONITOR: Allow confdb to be accessed by nonroot user"
>
> Patch is attached.
>
> LS
>

This looks like a false positive to me. But the solution
is non invasive, so ACK.

Michal




More information about the sssd-devel mailing list