summaryrefslogtreecommitdiff
path: root/server/responder/nss/nsssrv_nc.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-05-26 10:19:00 -0400
committerSimo Sorce <ssorce@redhat.com>2009-05-26 12:15:14 -0400
commit5eadfd50562c19f3e71ee754cd58173a25420996 (patch)
tree536902e6926e69a7f944afec979742a2186b287f /server/responder/nss/nsssrv_nc.c
parent1eca703ca65ad74673fd20ee97bb8d6e538f0085 (diff)
downloadsssd-5eadfd50562c19f3e71ee754cd58173a25420996.tar.gz
sssd-5eadfd50562c19f3e71ee754cd58173a25420996.tar.bz2
sssd-5eadfd50562c19f3e71ee754cd58173a25420996.zip
Silence warnings
Diffstat (limited to 'server/responder/nss/nsssrv_nc.c')
-rw-r--r--server/responder/nss/nsssrv_nc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/responder/nss/nsssrv_nc.c b/server/responder/nss/nsssrv_nc.c
index d6a808dc..1fa7d612 100644
--- a/server/responder/nss/nsssrv_nc.c
+++ b/server/responder/nss/nsssrv_nc.c
@@ -279,7 +279,7 @@ static int delete_permanent(struct tdb_context *tdb,
TDB_DATA key, TDB_DATA data, void *state)
{
unsigned long long int timestamp;
- bool remove = false;
+ bool remove_key = false;
char *ep;
if (strncmp((char *)key.dptr,
@@ -292,17 +292,17 @@ static int delete_permanent(struct tdb_context *tdb,
timestamp = strtoull((const char *)data.dptr, &ep, 0);
if (errno != 0 || *ep != '\0') {
/* Malformed entry, remove it */
- remove = true;
+ remove_key = true;
goto done;
}
if (timestamp == 0) {
/* a 0 timestamp means this is a permanent entry */
- remove = true;
+ remove_key = true;
}
done:
- if (remove) {
+ if (remove_key) {
return tdb_delete(tdb, key);
}