|
From: | Per Bothner |
Subject: | [Bug-kawa] [bug #32678] set! and endless loop |
Date: | Tue, 08 Mar 2011 16:56:51 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13 |
Follow-up Comment #3, bug #32678 (project kawa): I don't believe the warning is a false positive. Note that 'result' is never assigned to. I can't see how one would intentionally assign the result of a non-terminating loop to a variable, even in a server-like application. Notice the warning goes away if the set! is replaced by just the do. Perhaps an improved diagnostic can help: /tmp/y.scm:5:22: warning - 'result' can never be set because expression never finishes _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?32678> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |