9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Compiler question
@ 2005-09-19 19:27 ISHWAR RATTAN
  2005-09-19 19:44 ` Russ Cox
  2005-09-19 19:45 ` Russ Cox
  0 siblings, 2 replies; 10+ messages in thread
From: ISHWAR RATTAN @ 2005-09-19 19:27 UTC (permalink / raw)
  To: 9fans


The compiler complains about line 8:
warning: file.c: set and not used: tmp

-ishwar
----
1 void freelist(lnode **list)
2 {
3    lnode *tmp;
4
5   while( *list != nil){
6     tmp = *list;
7    *list = (*list)->next;
8    tmp = freenode(tmp);
9   }
   *list = nil;
}
---


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-09-20  0:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-19 19:27 [9fans] Compiler question ISHWAR RATTAN
2005-09-19 19:44 ` Russ Cox
2005-09-19 23:26   ` David Leimbach
2005-09-19 19:45 ` Russ Cox
2005-09-19 20:11   ` Joel Salomon
2005-09-19 21:08     ` ISHWAR RATTAN
2005-09-20  0:10       ` Rob Pike
2005-09-20  0:19         ` ISHWAR RATTAN
2005-09-19 21:23     ` rog
2005-09-19 21:54     ` Ronald G Minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).