From 7c039a42f8d64e76f470f860028198b68ed79603 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 2 Apr 1993 01:48:10 +0000 Subject: [PATCH] Add declarations to ignore unused variables. --- v7/src/edwin/schmod.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v7/src/edwin/schmod.scm b/v7/src/edwin/schmod.scm index c31226cd2..a962a0668 100644 --- a/v7/src/edwin/schmod.scm +++ b/v7/src/edwin/schmod.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: schmod.scm,v 1.32 1993/04/01 23:37:28 cph Exp $ +;;; $Id: schmod.scm,v 1.33 1993/04/02 01:48:10 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology ;;; @@ -337,6 +337,7 @@ Grumbles if PROC is an undocumented primitive." (let ((code (procedure-lambda proc))) (lambda-components* code (lambda (name required optional rest body) + name body (append required (if (null? optional) '() `(#!OPTIONAL ,@optional)) (if rest `(#!REST ,rest) '()))))))) \ No newline at end of file -- 2.25.1