From 748b308eebe8d8860888eb27da08333f175d547d Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Sat, 8 Jan 2022 12:41:16 +0000 Subject: patch 8.2.4038: various code not used when features are disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491) --- src/cmdhist.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cmdhist.c') diff --git a/src/cmdhist.c b/src/cmdhist.c index 8057344c13..6256fd91b0 100644 --- a/src/cmdhist.c +++ b/src/cmdhist.c @@ -37,11 +37,13 @@ get_histentry(int hist_type) return history[hist_type]; } +#if defined(FEAT_VIMINFO) || defined(PROTO) void set_histentry(int hist_type, histentry_T *entry) { history[hist_type] = entry; } +#endif int * get_hisidx(int hist_type) @@ -49,11 +51,13 @@ get_hisidx(int hist_type) return &hisidx[hist_type]; } +#if defined(FEAT_VIMINFO) || defined(PROTO) int * get_hisnum(int hist_type) { return &hisnum[hist_type]; } +#endif /* * Translate a history character to the associated type number. -- cgit v1.2.3 ub right'>matthias
summaryrefslogtreecommitdiffstats
path: root/.lgtm.yml
blob: abe9ff6541a084398ab6ed2a255d68e7f6d498a7 (plain)
1
2
3
4
# Format of this file: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
path_classifiers:
  documentation:
    - runtime/tutor/tutor*