CMUCL commit: src/code (fd-stream.lisp)

Raymond Toy rtoy at common-lisp.net
Sat Jul 3 17:20:25 CEST 2010


    Date: Saturday, July 3, 2010 @ 11:20:25
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/code

Modified: fd-stream.lisp

Fix some compiler notes by adding declarations and removing one
variable that was shadowing another.


----------------+
 fd-stream.lisp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


Index: src/code/fd-stream.lisp
diff -u src/code/fd-stream.lisp:1.108 src/code/fd-stream.lisp:1.109
--- src/code/fd-stream.lisp:1.108	Sat Jul  3 10:10:40 2010
+++ src/code/fd-stream.lisp	Sat Jul  3 11:20:25 2010
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /project/cmucl/cvsroot/src/code/fd-stream.lisp,v 1.108 2010-07-03 14:10:40 rtoy Exp $")
+  "$Header: /project/cmucl/cvsroot/src/code/fd-stream.lisp,v 1.109 2010-07-03 15:20:25 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -416,10 +416,10 @@
        (cond
 	 ((stream::ef-flush-state ,(stream::find-external-format extfmt))
 	  (let* ((sap (fd-stream-obuf-sap stream))
-		 (len (fd-stream-obuf-length stream))
-		 (tail (fd-stream-obuf-tail stream)))
-	    (declare (type sys:system-area-pointer sap) (type index len tail))
-
+		 (len (fd-stream-obuf-length stream)))
+	    (declare (type sys:system-area-pointer sap)
+		     (type index len)
+		     (ignorable sap len))
 	    (stream::flush-state ,extfmt
 				 (fd-stream-co-state stream)
 				 (lambda (byte)



More information about the cmucl-commit mailing list