]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:lib: Add missing break in switch statement
authorAndreas Schneider <asn@samba.org>
Mon, 1 Feb 2021 17:13:10 +0000 (18:13 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 1 Feb 2021 21:50:32 +0000 (21:50 +0000)
error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/id_cache.c

index 3a703ae4af381ebe71b25a79e58d87377979c1d4..adf6ccd6bb7c12e21afb6131ace1dd60c60cba3b 100644 (file)
@@ -87,6 +87,7 @@ void id_cache_delete_from_cache(const struct id_cache_ref* id)
                break;
        case USERNAME:
                delete_getpwnam_cache(id->id.name);
+               break;
        default:
                break;
        }