summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-29 23:03:23 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-29 23:03:23 +0100
commit6b584af3d7337639da27fd847c7c69a406af397e (patch)
treef2479490abe1541c337f5239739354105fff164c
parentcc7f8be3e0e6c4d902b02052a862e21c3a3fbe22 (diff)
downloadvim-git-6b584af3d7337639da27fd847c7c69a406af397e.tar.gz
patch 7.4.1466v7.4.1466
Problem: Coverity reports dead code. Solution: Remove the two lines.
-rw-r--r--src/channel.c2
-rw-r--r--src/version.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/channel.c b/src/channel.c
index b6a968b66..eb1fbea6d 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -1602,8 +1602,6 @@ may_invoke_callback(channel_T *channel, int part)
invoke_callback(channel, callback, argv);
}
}
- else if (msg != NULL)
- ch_logs(channel, "Dropping message '%s'", (char *)msg);
else
ch_log(channel, "Dropping message");
diff --git a/src/version.c b/src/version.c
index 9b5832933..0a4cf2a42 100644
--- a/src/version.c
+++ b/src/version.c
@@ -744,6 +744,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1466,
+/**/
1465,
/**/
1464,