mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
This commit is contained in:
@@ -6694,7 +6694,7 @@ syntime_report(void)
|
||||
{
|
||||
int idx;
|
||||
synpat_T *spp;
|
||||
# if defined(FEAT_RELTIME) && defined(FEAT_FLOAT)
|
||||
# if defined(FEAT_RELTIME)
|
||||
proftime_T tm;
|
||||
# endif
|
||||
int len;
|
||||
@@ -6724,7 +6724,7 @@ syntime_report(void)
|
||||
p->match = spp->sp_time.match;
|
||||
total_count += spp->sp_time.count;
|
||||
p->slowest = spp->sp_time.slowest;
|
||||
# if defined(FEAT_RELTIME) && defined(FEAT_FLOAT)
|
||||
# if defined(FEAT_RELTIME)
|
||||
profile_divide(&spp->sp_time.total, spp->sp_time.count, &tm);
|
||||
p->average = tm;
|
||||
# endif
|
||||
@@ -6758,10 +6758,8 @@ syntime_report(void)
|
||||
msg_puts(profile_msg(&p->slowest));
|
||||
msg_puts(" ");
|
||||
msg_advance(38);
|
||||
# ifdef FEAT_FLOAT
|
||||
msg_puts(profile_msg(&p->average));
|
||||
msg_puts(" ");
|
||||
# endif
|
||||
msg_advance(50);
|
||||
msg_outtrans(highlight_group_name(p->id - 1));
|
||||
msg_puts(" ");
|
||||
|
Reference in New Issue
Block a user