standardize on "return foo;" rather than "return(foo);" or "return (foo);"

This commit is contained in:
Todd C. Miller
2011-01-24 15:15:18 -05:00
parent 3316ac8ebc
commit ae2f7638f5
68 changed files with 843 additions and 843 deletions

View File

@@ -100,7 +100,7 @@ nomatch:
if (tq_empty(&snl))
tq_append(&snl, &sudo_nss_file);
return(&snl);
return &snl;
}
#else /* HAVE_LDAP && _PATH_NSSWITCH_CONF */
@@ -179,7 +179,7 @@ nomatch:
if (tq_empty(&snl))
tq_append(&snl, &sudo_nss_file);
return(&snl);
return &snl;
}
# else /* !_PATH_NETSVC_CONF && !_PATH_NSSWITCH_CONF */
@@ -197,7 +197,7 @@ sudo_read_nss(void)
# endif
tq_append(&snl, &sudo_nss_file);
return(&snl);
return &snl;
}
# endif /* !HAVE_LDAP || !_PATH_NETSVC_CONF */
@@ -317,7 +317,7 @@ display_cmnd(struct sudo_nss_list *snl, struct passwd *pw)
tq_foreach_fwd(snl, nss) {
if (nss->display_cmnd(nss, pw) == 0)
return(0);
return 0;
}
return(1);
return 1;
}