This is an automated email from Gerrit. ?yvind Harboe (oyvindhar...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/44
-- gerrit commit 19fcc78a930eb6e1d1c60cf1df4aa7fc2f1271fb Author: Ãyvind Harboe <oyvind.har...@zylin.com> Date: Sat Oct 22 01:04:27 2011 +0200 server: remove warning due to dead assignment Change-Id: Idb08aef0c11b3fae92286e8fcea61ab09ab09e74 Signed-off-by: Ãyvind Harboe <oyvind.har...@zylin.com> diff --git a/src/server/server.c b/src/server/server.c index 84ec1ac..bb60fc5 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -71,8 +71,11 @@ static int add_connection(struct service *service, struct command_context *cmd_c c->fd_out = c->fd; /* This increases performance dramatically for e.g. GDB load which - * does not have a sliding window protocol. */ - retval = setsockopt(c->fd, /* socket affected */ + * does not have a sliding window protocol. + * + * Ignore errors from this fn as it probably just means less performance + */ + setsockopt(c->fd, /* socket affected */ IPPROTO_TCP, /* set option at TCP level */ TCP_NODELAY, /* name of option */ (char *)&flag, /* the cast is historical cruft */ --
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development