From 3ab490d6a2dd0b0466c334595f7c3460988e5ffd Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 15 Jun 2006 20:21:29 +0000 Subject: [PATCH] Relevant BUGIDs: Purpose of commit: cleanup Commit summary: --------------- 2006-06-15 Thorsten Kukuk * modules/pam_time/pam_time.c (logic_member): Remove unused variable len. --- ChangeLog | 3 +++ modules/pam_time/pam_time.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 108a7784..5ec2a09f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-06-15 Thorsten Kukuk + * modules/pam_time/pam_time.c (logic_member): Remove unused + variable len. + * modules/pam_group/pam_group.c (logic_field): Accept colon in tty name. [#1428276]. (logic_member): Remove unused variable len. 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++]; -- 2.40.0