Came across something odd in gschem's o_basic.c today.
On line 624, there's a block:
if (o_list == NULL) {
...
return;
}
Strangely, there follow a number of blocks of the form:
if (o_list) {
... <block1>
} else if (s_list) {
... <block2>
}
Would I be right in thinking that <block2> is NEVER executed?
Peter
--
Fisher Society publicity officer http://tinyurl.com/o39w2
CUSBC novices, match and league secretary http://tinyurl.com/mwrc9
Quake II build tools maintainer http://tinyurl.com/fkldd
v2sw6YShw7$ln5pr6ck3ma8u6/8Lw3+2m0l7Ci6e4+8t4Eb8Aen5+6g6Pa2Xs5MSr5p4
hackerkey.com
Attachment:
pgp39vqWjrF6B.pgp
Description: PGP signature
_______________________________________________ geda-dev mailing list geda-dev@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev