doit, tiny rewrite

This commit is contained in:
rlar 2012-03-25 19:08:04 +02:00
parent 90dc1da4d2
commit 7eb5e83b8d
1 changed files with 4 additions and 4 deletions

View File

@ -674,16 +674,16 @@ doit(struct line *deck) {
#ifdef TRACE
/* Added by H.Tanaka to display converted deck */
{
struct line *c;
struct line *c = deck;
printf("Converted deck\n");
for (c = deck; c; c = c->li_next) {
for (; c; c = c->li_next) {
printf( "%s\n",c->li_line);
}
}
{
wordlist * w;
wordlist *w = modnames;
printf("Models:\n");
for(w = modnames; w; w = w->wl_next)
for(; w; w = w->wl_next)
printf("%s\n",w->wl_word);
}
#endif