Øyvind Harboe wrote:
> > I don't like the change so much. It ends up declaring the exact same
> > variable twice, and other odd noise, to silence a warning. Is there
> > no better way?
> 
> Reusing the 'target' variable name here is bad.
..
> The code is now more easily re-factored as multiple functions

Ok, can we please do that then, instead of working around static
analysis? Also, I'm not sure the command handler should really
return ERROR_OK if the target is unknown. (Not a new bug, but I
think it's a bug just the same.)


//Peter
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to