From 630c15211dd9090bf369948c31f192d9fa1fab49 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 29 Jul 2017 19:27:19 +0100 Subject: [PATCH] librb: rb_linebuf_copy_raw: remove unused assignment --- librb/src/linebuf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/librb/src/linebuf.c b/librb/src/linebuf.c index 77fe9b7d..de758dec 100644 --- a/librb/src/linebuf.c +++ b/librb/src/linebuf.c @@ -292,7 +292,6 @@ rb_linebuf_copy_raw(buf_head_t * bufhead, buf_line_t * bufline, char *data, int clen = BUF_DATA_SIZE - bufline->len - 1; memcpy(bufch, ch, clen); bufline->buf[BUF_DATA_SIZE - 1] = '\0'; - bufch = bufline->buf + BUF_DATA_SIZE - 2; bufline->terminated = 1; bufline->len = BUF_DATA_SIZE - 1; bufhead->len += BUF_DATA_SIZE - 1;