On Wednesday 11 November 2009, Zachary T Welch wrote: > + for (cc = *head; cc && cc->next; cc = cc->next) ;
Style point: such unadorned empty statements are worth avoiding. They're not quickly apparent when scanning code ... either their presence or their absence. That translates to being bug-prone. Same thing with all-in-one-line ... it's bad for if/else/while as well as "for". My preferred solution: for (...) continue; Some folk like comments instead: for (...) /* nothing */; _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development