From: Taylor R. Campbell Date: Tue, 12 Aug 2008 01:36:52 +0000 (+0000) Subject: Remove or ignore the now unused variables since the last commit. X-Git-Tag: 20090517-FFI~252 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=61e3f739f47960fb20bb1eb285c591968688113c;p=mit-scheme.git Remove or ignore the now unused variables since the last commit. --- diff --git a/v7/src/imail/imail-imap.scm b/v7/src/imail/imail-imap.scm index f5821b252..fc799ed2b 100644 --- a/v7/src/imail/imail-imap.scm +++ b/v7/src/imail/imail-imap.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: imail-imap.scm,v 1.222 2008/08/12 00:49:03 riastradh Exp $ +$Id: imail-imap.scm,v 1.223 2008/08/12 01:36:52 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -1205,18 +1205,18 @@ USA. (define-method cache-folder-contents ((folder ) walk-mime-body) (fill-imap-message-cache folder content-keywords) - (let ((length (folder-length folder))) - (for-each-message folder - (lambda (index message) - (cond ((imap-message-bodystructure message) - => (lambda (body-structure) - (walk-mime-body message body-structure - (lambda (selector) - (fetch-message-body-part-to-cache - message - (mime-selector->imap-section selector)))))) - (else - (fetch-message-body-part-to-cache message '(TEXT)))))))) + (for-each-message folder + (lambda (index message) + index ;ignore + (cond ((imap-message-bodystructure message) + => (lambda (body-structure) + (walk-mime-body message body-structure + (lambda (selector) + (fetch-message-body-part-to-cache + message + (mime-selector->imap-section selector)))))) + (else + (fetch-message-body-part-to-cache message '(TEXT))))))) (define (for-each-message folder procedure) (let ((n (folder-length folder)))