From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4A7F246E.8000504@tecmav.com> Date: Sun, 9 Aug 2009 21:33:02 +0200 From: Adriano Verardo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 SeaMonkey/1.1.12 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] Unexpected 8c warning message Topicbox-Message-UUID: 3eefe158-ead5-11e9-9d60-3106f5b1d025 Hi, all. SDes_t *SDList[2], *SD; .... n = ... // 0, 1, 2, ... //SD = SDList[0]; <= uncommenting this one the warning disappear. for (i = 0; i < 2; i++) { SD = SDList[i]; while (n && SD) { SD = SD->next; if (SD) n--; } } if (!SD) { ..... } ---> used and not set SD ??? 8c shouldn't issue the warning message, beeing SD assigned in a loop defined by constants ... unless there is a subtle (my) error that I don't see. Thanks for the help. adriano