summaryrefslogtreecommitdiff
path: root/src/core/line-split.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-30 09:54:53 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-30 09:54:53 +0000
commitfa50bb7209ec37dce687a1455dceaa75a095d76f (patch)
tree570481ccd4e1dc1a31ca027320d3531864d07339 /src/core/line-split.c
parent77d06220dacb3448cbf02a5794d92bef407683cf (diff)
downloadirssi-fa50bb7209ec37dce687a1455dceaa75a095d76f.zip
Remove useless assignment.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4787 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/line-split.c')
-rw-r--r--src/core/line-split.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/line-split.c b/src/core/line-split.c
index 0274552d..b100a20f 100644
--- a/src/core/line-split.c
+++ b/src/core/line-split.c
@@ -114,7 +114,6 @@ int line_split(const char *data, int len, char **output, LINEBUF_REC **buffer)
return -1;
/* no new data got but still something in buffer.. */
- len = 0;
if (linebuf_find(rec, '\n') == NULL) {
/* connection closed and last line is missing \n ..
just add it so we can see if it had