Mercurial > vim
comparison src/scriptfile.c @ 18410:b5b2e3b824c2 v8.1.2199
patch 8.1.2199: build failure when using normal features without GUI
Commit: https://github.com/vim/vim/commit/a720be78d7978b3b853ff6c8af0d1721d6225378
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 22 21:45:19 2019 +0200
patch 8.1.2199: build failure when using normal features without GUI
Problem: Build failure when using normal features without GUI and EXITFREE
defined.
Solution: Add #ifdef. (Dominique Pelle, closes #5106)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Oct 2019 22:00:04 +0200 |
parents | 6c3a8312486d |
children | 847cc7932c42 |
comparison
equal
deleted
inserted
replaced
18409:7ca16569d89d | 18410:b5b2e3b824c2 |
---|---|
1358 int i; | 1358 int i; |
1359 | 1359 |
1360 for (i = script_items.ga_len; i > 0; --i) | 1360 for (i = script_items.ga_len; i > 0; --i) |
1361 { | 1361 { |
1362 vim_free(SCRIPT_ITEM(i).sn_name); | 1362 vim_free(SCRIPT_ITEM(i).sn_name); |
1363 # ifdef FEAT_PROFILE | |
1363 ga_clear(&SCRIPT_ITEM(i).sn_prl_ga); | 1364 ga_clear(&SCRIPT_ITEM(i).sn_prl_ga); |
1365 # endif | |
1364 } | 1366 } |
1365 ga_clear(&script_items); | 1367 ga_clear(&script_items); |
1366 } | 1368 } |
1367 | 1369 |
1368 void | 1370 void |