Mercurial > vim
comparison src/vim9type.c @ 27018:268f6a3511df v8.2.4038
patch 8.2.4038: various code not used when features are disabled
Commit: https://github.com/vim/vim/commit/748b308eebe8d8860888eb27da08333f175d547d
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sat Jan 8 12:41:16 2022 +0000
patch 8.2.4038: various code not used when features are disabled
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pell?, closes https://github.com/vim/vim/issues/9491)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jan 2022 13:45:04 +0100 |
parents | b049c3b63a67 |
children | 98a01021e465 |
comparison
equal
deleted
inserted
replaced
27017:da790d50f73d | 27018:268f6a3511df |
---|---|
527 res = FAIL; | 527 res = FAIL; |
528 } | 528 } |
529 } | 529 } |
530 clear_type_list(&type_list); | 530 clear_type_list(&type_list); |
531 return res; | 531 return res; |
532 } | |
533 | |
534 void | |
535 type_mismatch(type_T *expected, type_T *actual) | |
536 { | |
537 arg_type_mismatch(expected, actual, 0); | |
538 } | 532 } |
539 | 533 |
540 void | 534 void |
541 arg_type_mismatch(type_T *expected, type_T *actual, int arg_idx) | 535 arg_type_mismatch(type_T *expected, type_T *actual, int arg_idx) |
542 { | 536 { |