diff src/channel.c @ 8348:a0cff08e7aa3 v7.4.1466

commit https://github.com/vim/vim/commit/6b584af3d7337639da27fd847c7c69a406af397e Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 29 23:03:23 2016 +0100 patch 7.4.1466 Problem: Coverity reports dead code. Solution: Remove the two lines.
author Christian Brabandt <cb@256bit.org>
date Mon, 29 Feb 2016 23:15:07 +0100
parents 8fa75a4c39bd
children b151c3f9be72
line wrap: on
line diff
--- a/src/channel.c
+++ b/src/channel.c
@@ -1602,8 +1602,6 @@ may_invoke_callback(channel_T *channel, 
 	    invoke_callback(channel, callback, argv);
 	}
     }
-    else if (msg != NULL)
-	ch_logs(channel, "Dropping message '%s'", (char *)msg);
     else
 	ch_log(channel, "Dropping message");