summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-07 21:28:24 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-07 21:28:24 +0100
commitfd39d08fb6f61bc6c1366de8a7af19a42dc1b377 (patch)
treece5054ffac2a5ae3f469701b8c877755df2701df
parent75bdf6aa30a5c99d67c42886cf7a4a000bbaa422 (diff)
downloadvim-git-fd39d08fb6f61bc6c1366de8a7af19a42dc1b377.tar.gz
patch 7.4.1059v7.4.1059
Problem: Code will never be executed. Solution: Remove the code.
-rw-r--r--src/quickfix.c3
-rw-r--r--src/version.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 1fda31134..e231fdfe9 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -162,9 +162,6 @@ qf_init(wp, efile, errorformat, newlist, qf_title)
{
qf_info_T *qi = &ql_info;
- if (efile == NULL)
- return FAIL;
-
if (wp != NULL)
{
qi = ll_get_or_alloc_list(wp);
diff --git a/src/version.c b/src/version.c
index 34df592cf..61f804b7a 100644
--- 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,