From 44128667c7470b4ce4764e488a32da5ca17c2f2d Mon Sep 17 00:00:00 2001 From: Richard Kettlewell Date: Sun, 19 Jun 2011 09:08:17 +0100 Subject: [PATCH] cleanup: Remove pointless double assignment -Wsequence-point doesn't like it. Signed-off-by: Richard Kettlewell Signed-off-by: Ian Jackson --- udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udp.c b/udp.c index 4c393cd..7ff4d5f 100644 --- a/udp.c +++ b/udp.c @@ -272,7 +272,7 @@ static list_t *udp_apply(closure_t *self, struct cloc loc, dict_t *context, d=i->data.dict; j=dict_find_item(d,"address",False,"udp",st->loc); - st->addr=j?st->addr=string_item_to_ipaddr(j, "udp"):INADDR_ANY; + st->addr=j?string_item_to_ipaddr(j, "udp"):INADDR_ANY; st->port=dict_read_number(d,"port",True,"udp",st->loc,0); st->rbuf=find_cl_if(d,"buffer",CL_BUFFER,True,"udp",st->loc); st->authbind=dict_read_string(d,"authbind",False,"udp",st->loc); -- 2.11.0