From: Øyvind H. <go...@us...> - 2009-11-27 19:44:06
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 46ed068bacec3c40aa543e78e99b51e30aacf15b (commit) from bd3ef5ca3d11c228aece1a1a654a8c89bd6d0e05 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 46ed068bacec3c40aa543e78e99b51e30aacf15b Author: Ãyvind Harboe <oyv...@zy...> Date: Fri Nov 27 19:41:22 2009 +0100 zy1000: keep up with changes to log_init() fn's and return value for log_init() changed to void. Signed-off-by: Ãyvind Harboe <oyv...@zy...> diff --git a/src/ecosboard.c b/src/ecosboard.c index 2789464..5588934 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -1098,13 +1098,7 @@ int main(int argc, char *argv[]) Jim_CreateCommand(interp, "uart", zylinjtag_Jim_Command_uart, NULL, NULL); - int errVal; - errVal = log_init(cmd_ctx); - if (errVal != ERROR_OK) - { - diag_printf("log_init() failed %d\n", errVal); - exit(-1); - } + log_init(); set_log_output(cmd_ctx, log); ----------------------------------------------------------------------- Summary of changes: src/ecosboard.c | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) hooks/post-receive -- Main OpenOCD repository |