On Tue, 2009-12-01 at 09:17 +0100, Øyvind Harboe wrote:
> >>  #if !BUILD_ECOSBOARD
> >
> > It is now safe to kill this #if logic too.  It's like a bonus prize. ;)
> 
> Almost, but not quite. I tried before I remembered that
> Jim is embedded into the athttpd server... You know the
> slightly messy and awkward jump tables that Jim uses...

That's not true.  It _can_ be removed.  If interp is NULL, then we dang
well had better create it right then and there, or the code will crash.

The patch to ecosboard.c always gives a non-NULL value, and we always
pass in NULL from openocd.c.  The #if is entirely redundant when you
take a moment to look at the big picture.

--Z

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

Reply via email to