summaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/syntax.c b/src/syntax.c
index c68e001be9..ea8d541de0 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -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(" ");