From cbb325bd193fd407c4495e95419512312febcc1c Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Fri, 27 May 2016 10:32:58 +0200 Subject: Eliminate stupid if construct --- lib/hipe/main/hipe.hrl.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/hipe/main/hipe.hrl.src b/lib/hipe/main/hipe.hrl.src index d5efbaccf7..53b59f88f0 100644 --- a/lib/hipe/main/hipe.hrl.src +++ b/lib/hipe/main/hipe.hrl.src @@ -162,7 +162,7 @@ -define(get_hipe_timer_val(Timer), get(Timer)). -define(set_hipe_timer_val(Timer, Val), put(Timer, Val)). -define(option_time(Stmnt, Text, Options), - if true -> + begin ?when_option(time, Options, ?start_timer(Text)), fun(R) -> ?when_option(time, Options, ?stop_timer(Text)), -- cgit v1.2.3