From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4A7F246E.8000504@tecmav.com> References: <4A7F246E.8000504@tecmav.com> Date: Sun, 9 Aug 2009 12:46:48 -0700 Message-ID: Subject: Re: [9fans] Unexpected 8c warning message From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 3efcad5c-ead5-11e9-9d60-3106f5b1d025 you are smarter than 8c. just put sd = nil above your loop. 8c isn't smart enough to know that the body of for(i=0; i<2; i++) because it does not make two copies of the i<2 test, so it cannot determine that the very first one is guaranteed to succeed. russ