changeset 7515:cc0398578d2f v7.4.1059

commit https://github.com/vim/vim/commit/fd39d08fb6f61bc6c1366de8a7af19a42dc1b377 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 7 21:28:24 2016 +0100 patch 7.4.1059 Problem: Code will never be executed. Solution: Remove the code.
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Jan 2016 21:30:06 +0100
parents 1327a6efdcce
children 391d31ceb300
files src/quickfix.c src/version.c
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -162,9 +162,6 @@ qf_init(wp, efile, errorformat, newlist,
 {
     qf_info_T	    *qi = &ql_info;
 
-    if (efile == NULL)
-	return FAIL;
-
     if (wp != NULL)
     {
 	qi = ll_get_or_alloc_list(wp);
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1059,
+/**/
     1058,
 /**/
     1057,