aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-10-26 23:39:39 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-10-26 23:39:39 -0200
commit9293ef61f278ca339f62da5173fc68f9b6d5b482 (patch)
tree0a9e1274ea83b0c04cf75ccde21e0891ebe68507 /src
parentfb6a4ecbc07f7c77856e589df8a6481cb9765ebc (diff)
downloadblogc-9293ef61f278ca339f62da5173fc68f9b6d5b482.tar.gz
blogc-9293ef61f278ca339f62da5173fc68f9b6d5b482.tar.bz2
blogc-9293ef61f278ca339f62da5173fc68f9b6d5b482.zip
error: removed dead assignment
Diffstat (limited to 'src')
-rw-r--r--src/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c
index 4cb3be1..28396f8 100644
--- a/src/error.c
+++ b/src/error.c
@@ -63,8 +63,8 @@ blogc_error_parser(blogc_error_type_t type, const char *src, size_t src_len,
(c == '\r' && src[i + 1] == '\n'))
{
lineno++;
+ i++;
pos = 1;
- c = src[++i];
if ((i + 1) < src_len)
linestart = i + 1;
continue;