[SSSD] [PATCH] Suppress warning maybe-uninitialized

Simo Sorce simo at redhat.com
Thu Oct 9 14:33:54 UTC 2014


On Wed, 8 Oct 2014 09:12:53 +0200
Lukas Slebodnik <lslebodn at redhat.com> wrote:

> -                        for (ai = a; ai < attrs_num; ai++) {
> +                        for (ai = base_attr_idx; ai < attrs_num;
> ai++) { /* check if this attr is valid with the chosen
>                               * schema */

I still think adding ai > 0 to the condition would better reflect the
existing code behavior, but I won't insist if nobody else cares.

Otherwise Ack.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York



More information about the sssd-devel mailing list