mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 9.1.1793: Link error when build without channel feature
Problem: Link error when build without channel feature (lindhobe, after v9.1.1774) Solution: Remove ifdef FEAT_JOB_CHANNEL around check_for_string_or_blob_arg() fixes: #18396 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -3136,10 +3136,8 @@ EXTERN char e_float_or_number_required_for_argument_nr[]
|
||||
INIT(= N_("E1219: Float or Number required for argument %d"));
|
||||
EXTERN char e_string_or_number_required_for_argument_nr[]
|
||||
INIT(= N_("E1220: String or Number required for argument %d"));
|
||||
# ifdef FEAT_JOB_CHANNEL
|
||||
EXTERN char e_string_or_blob_required_for_argument_nr[]
|
||||
INIT(= N_("E1221: String or Blob required for argument %d"));
|
||||
# endif
|
||||
EXTERN char e_string_or_list_required_for_argument_nr[]
|
||||
INIT(= N_("E1222: String or List required for argument %d"));
|
||||
EXTERN char e_string_or_dict_required_for_argument_nr[]
|
||||
|
@@ -823,7 +823,6 @@ check_for_opt_lnum_arg(typval_T *args, int idx)
|
||||
|| check_for_lnum_arg(args, idx) != FAIL) ? OK : FAIL;
|
||||
}
|
||||
|
||||
#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
|
||||
/*
|
||||
* Give an error and return FAIL unless "args[idx]" is a string or a blob.
|
||||
*/
|
||||
@@ -837,7 +836,6 @@ check_for_string_or_blob_arg(typval_T *args, int idx)
|
||||
}
|
||||
return OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Give an error and return FAIL unless "args[idx]" is a string or a list.
|
||||
|
@@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1793,
|
||||
/**/
|
||||
1792,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user