libgpo: Make it clear that we want to fall trough here.
authorAndreas Schneider <asn@samba.org>
Tue, 18 Dec 2012 15:41:37 +0000 (16:41 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 21 Dec 2012 12:56:01 +0000 (13:56 +0100)
Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
libgpo/gpo_sec.c

index 456a218e1981c41ce3026abc13b3b49a9b0d138b..af73697e56e8ae32523d05916693c3787264de0c 100644 (file)
@@ -47,11 +47,13 @@ static bool gpo_sd_check_agp_object_guid(const struct security_ace_object *objec
                                       &ext_right_apg_guid)) {
                                return true;
                        }
+                       /* FALL TROUGH */
                case SEC_ACE_INHERITED_OBJECT_TYPE_PRESENT:
                        if (GUID_equal(&object->inherited_type.inherited_type,
                                       &ext_right_apg_guid)) {
                                return true;
                        }
+                       /* FALL TROUGH */
                default:
                        break;
        }