[PD-dev] code without effect?

IOhannes m zmölnig zmoelnig at iem.at
Thu Jan 5 23:50:36 CET 2017


while doing a routine static code analysis of the pd-sources, i stumbled
upon the following lines which do not make any sense to me:

https://github.com/pure-data/pure-data/blob/master/src/g_readwrite.c#L343-L348

this looks very much like:
   x=a;
   a=a;
   a=x;

which, all in all, i think doesn't do much.

is this by intention, or is there some copy/paste error?

gfamrds
IOhannes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20170105/f8fe4a6a/attachment.sig>


More information about the Pd-dev mailing list