On Wed, 2013-01-09 at 10:51 +0100, Sumit Bose wrote:
> Hi,
> 
> a switch statement which was introduced with "Remove unhelpful vtable
> from sss_cache" has a missing default section which results in a
> compiler warning about an uninitialized variable. The attached patch
> should fix it.

The default section wasn't missing, but was explicitly left out. So that
if you add a new value to the enum then you start getting errors.

Please initialize ret before the switch instead.

(NACK)

Simo.

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

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to