commit b1e5a806a68d79c345948805b4e221020c8a1e3e
parent 67efb9b04a099476d8135591b1407b4e17549b9a
Author: Joris Vink <joris@coders.se>
Date: Mon, 19 Jan 2015 15:32:52 +0100
No need to assign ret when failing here.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/websocket.c b/src/websocket.c
@@ -313,7 +313,6 @@ websocket_recv_frame(struct netbuf *nb)
&nb->buf[moff + 4], len);
break;
default:
- ret = KORE_RESULT_ERROR;
kore_debug("%p: bad websocket op %d", c, op);
return (KORE_RESULT_ERROR);
}