summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2017-01-30 12:17:25 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2017-02-01 14:10:44 +0100
commit2e505786d6d9d537f5b6631099862f6b93e2e687 (patch)
treedb4e316a409e6578c6fc4792116ecc4a8ab807ff /src/providers/ldap
parentc369b062182c746849196e495db467198039edf4 (diff)
downloadsssd-2e505786d6d9d537f5b6631099862f6b93e2e687.tar.gz
sssd-2e505786d6d9d537f5b6631099862f6b93e2e687.tar.xz
sssd-2e505786d6d9d537f5b6631099862f6b93e2e687.zip
Suppres implicit-fallthrough from gcc 7
Some kind of comments are recognized by gcc7 but they are ignored with -Wimplicit-fallthrough=5 and only attributes disable the warning. Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_idmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_idmap.c b/src/providers/ldap/sdap_idmap.c
index b5dfc6cef..0fda81522 100644
--- a/src/providers/ldap/sdap_idmap.c
+++ b/src/providers/ldap/sdap_idmap.c
@@ -516,6 +516,7 @@ sdap_idmap_sid_to_unix(struct sdap_idmap_ctx *idmap_ctx,
"sssd-ad(5) for an explanation of how to resolve this issue.\n",
sid_str);
/* Fall through intentionally */
+ SSS_ATTRIBUTE_FALLTHROUGH;
default:
DEBUG(SSSDBG_MINOR_FAILURE,
"Could not convert objectSID [%s] to a UNIX ID\n",