]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
third_party/heimdal_build: Define fallthrough macro for switch statements
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 22 Feb 2022 03:41:52 +0000 (16:41 +1300)
committerJoseph Sutton <jsutton@samba.org>
Tue, 1 Mar 2022 22:34:34 +0000 (22:34 +0000)
This is an adaptation to Heimdal:

commit ddc61136100b32346c4c4efa2bb6ddb5baedfb3e
Author: Nicolas Williams <nico@twosigma.com>
Date:   Fri Jan 14 16:32:04 2022 -0600

    Use fallthrough statement attribute

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
third_party/heimdal_build/config.h

index d9ba31b3b45e075987283e267cabd2873e5d6ca0..42b11ace11f5fc0237b57ae842f5825d199d4ffe 100644 (file)
@@ -64,4 +64,6 @@
 #define HAVE_STRSEP 1
 #endif
 
+#define fallthrough FALL_THROUGH
+
 #endif