Skip to content

Commit 1e009b0

Browse files
committed
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 <[email protected]>
1 parent 35a89ce commit 1e009b0

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/errors.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,10 +3136,8 @@ EXTERN char e_float_or_number_required_for_argument_nr[]
31363136
INIT(= N_("E1219: Float or Number required for argument %d"));
31373137
EXTERN char e_string_or_number_required_for_argument_nr[]
31383138
INIT(= N_("E1220: String or Number required for argument %d"));
3139-
# ifdef FEAT_JOB_CHANNEL
31403139
EXTERN char e_string_or_blob_required_for_argument_nr[]
31413140
INIT(= N_("E1221: String or Blob required for argument %d"));
3142-
# endif
31433141
EXTERN char e_string_or_list_required_for_argument_nr[]
31443142
INIT(= N_("E1222: String or List required for argument %d"));
31453143
EXTERN char e_string_or_dict_required_for_argument_nr[]

src/typval.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,6 @@ check_for_opt_lnum_arg(typval_T *args, int idx)
823823
|| check_for_lnum_arg(args, idx) != FAIL) ? OK : FAIL;
824824
}
825825

826-
#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
827826
/*
828827
* Give an error and return FAIL unless "args[idx]" is a string or a blob.
829828
*/
@@ -837,7 +836,6 @@ check_for_string_or_blob_arg(typval_T *args, int idx)
837836
}
838837
return OK;
839838
}
840-
#endif
841839

842840
/*
843841
* Give an error and return FAIL unless "args[idx]" is a string or a list.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,8 @@ static char *(features[]) =
729729

730730
static int included_patches[] =
731731
{ /* Add new patch number below this line */
732+
/**/
733+
1793,
732734
/**/
733735
1792,
734736
/**/

0 commit comments

Comments
 (0)