diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-03-04 20:03:06 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-03-04 20:03:06 +0000 |
commit | 48d51b66fac883fc8648fb6b9df487382b8addc2 (patch) | |
tree | e85684c4247e33f12417a95989210df016a35109 /nslcd/protocol.c | |
parent | 03fdef7f5c7667fd92232f6d055f98833bcfef19 (diff) |
code improvements by making type casts explicit, flagging ignored return values, renames and flagging of parameters and some miscelanious improvements (thanks to gcc warnings, splint, rats and flawfinder)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@265 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/protocol.c')
-rw-r--r-- | nslcd/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/protocol.c b/nslcd/protocol.c index 30e42d4..c2a14cf 100644 --- a/nslcd/protocol.c +++ b/nslcd/protocol.c @@ -54,7 +54,7 @@ #include "log.h" static enum nss_status _nss_ldap_parse_proto (LDAPMessage *e, - struct ldap_state *pvt, + struct ldap_state UNUSED(*pvt), void *result, char *buffer, size_t buflen) { |