]> granicus.if.org Git - vim/commitdiff
patch 7.4.1466 v7.4.1466
authorBram Moolenaar <Bram@vim.org>
Mon, 29 Feb 2016 22:03:23 +0000 (23:03 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 29 Feb 2016 22:03:23 +0000 (23:03 +0100)
Problem:    Coverity reports dead code.
Solution:   Remove the two lines.

src/channel.c
src/version.c

index b6a968b66b50541858962a2bcdb944f9516f266d..eb1fbea6d3d663bc22f9a7a446d3748678d6e620 100644 (file)
@@ -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");
 
index 9b5832933154e3ecbf652cbc0da4c971313e7194..0a4cf2a4275101c4587cbe8686d62739af6a5063 100644 (file)
@@ -743,6 +743,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1466,
 /**/
     1465,
 /**/