gEDA-dev: Wierdness in gschem's o_basic.c
Peter TB Brett
peter at peter-b.co.uk
Thu Aug 10 10:09:33 EDT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20060810/2fb748d8/attachment.pgp
More information about the geda-dev
mailing list