]> granicus.if.org Git - sudo/commitdiff
Remove extraneous semicolons in CHECK_* macros.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 17 Jun 2015 16:25:29 +0000 (10:25 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 17 Jun 2015 16:25:29 +0000 (10:25 -0600)
plugins/sudoers/ldap.c

index e55b17ffa7dda9a68848a4bd5c7748681e9da89d..6e25201bb4ab6942bd35ba27757a6372cfe06c05 100644 (file)
@@ -140,15 +140,15 @@ extern int ldapssl_set_strength(LDAP *ldap, int strength);
 #define CHECK_STRLCPY(d, s, l) do {                                           \
        if (strlcpy((d), (s), (l)) >= (l))                                     \
            goto overflow;                                                     \
-} while (0);
+} while (0)
 #define CHECK_STRLCAT(d, s, l) do {                                           \
        if (strlcat((d), (s), (l)) >= (l))                                     \
            goto overflow;                                                     \
-} while (0);
+} while (0)
 #define CHECK_LDAP_VCAT(d, s, l) do {                                         \
        if (sudo_ldap_value_cat((d), (s), (l)) >= (l))                         \
            goto overflow;                                                     \
-} while (0);
+} while (0)
 
 #define CONF_BOOL      0
 #define CONF_INT       1