Øyvind Harboe wrote:
> -     return ERROR_OK;
> +     /* Did we detect a failure condition that we cleared? */
> +     if (detected_failure != ERROR_OK)
> +             return detected_failure;
> +     return retval;

Please just use retval also for the error.


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

Reply via email to