On May 20, 2009, at 8:30 PM, Michael Bruck wrote:

- jtag.c, interface_jtag_add_ir_scan() [2/2]:
- retire variable 'found' and use goto instead
- add comments on loops

Michael
<
commit
-11-506cef0.patch>_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development


I'm not really keen on the use of goto in this case. The use of found breaks the code into two clear phases: locate the fields for the tap, and process the fields for that tap. The goto confuses the flow when reading the code.

--
Rick Altherr
[email protected]

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to