summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-06-15 20:21:29 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-06-15 20:21:29 +0000
commit3ab490d6a2dd0b0466c334595f7c3460988e5ffd (patch)
tree0fc0752177eeae2b1bd6cbd9c5db058d300dde1a /modules
parent191b04ad2c5c94a743205842add2754a9ad28592 (diff)
Relevant BUGIDs:
Purpose of commit: cleanup Commit summary: --------------- 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de> * modules/pam_time/pam_time.c (logic_member): Remove unused variable len.
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_time/pam_time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/pam_time/pam_time.c b/modules/pam_time/pam_time.c
index a3e94eb1..075d951f 100644
--- a/modules/pam_time/pam_time.c
+++ b/modules/pam_time/pam_time.c
@@ -214,11 +214,10 @@ read_field(pam_handle_t *pamh, int fd, char **buf, int *from, int *to)
static int
logic_member(const char *string, int *at)
{
- int len,c,to;
+ int c,to;
int done=0;
int token=0;
- len=0;
to=*at;
do {
c = string[to++];