From: compudj Date: Tue, 23 May 2006 19:42:39 +0000 (+0000) Subject: fix compare X-Git-Tag: v0.12.20~1653 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3f0ad0ba5344123b30619f2c4d5f260d31f8d780;p=lttv.git fix compare git-svn-id: http://ltt.polymtl.ca/svn@1836 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/time.h b/ltt/branches/poly/ltt/time.h index 00e3aa54..5b400522 100644 --- a/ltt/branches/poly/ltt/time.h +++ b/ltt/branches/poly/ltt/time.h @@ -86,10 +86,6 @@ static inline LttTime ltt_time_add(LttTime t1, LttTime t2) return res; } -if t1>t2 return 1 - -if t1-t1 > 0 return 1 - /* Fastest comparison : t1 > t2 */ static inline int ltt_time_compare(LttTime t1, LttTime t2) {