فهرست منبع

Increased code coverage of tlist.c from 74.5% to 95.9%.

(Logical change 1.70)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@252 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 سال پیش
والد
کامیت
75ddec4b0f
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      exec/tlist.c

+ 2 - 0
exec/tlist.c

@@ -133,6 +133,7 @@ void timerlist_del (struct timerlist *timerlist, timer_handle timer_handle)
 	timers_inuse--;
 }
 
+#ifdef CODE_COVERAGE_COMPILE_OUT
 int timer_expire_get_tv (struct timerlist *timerlist, struct timeval *tv)
 {
 	struct timeval current_time;
@@ -176,6 +177,7 @@ int timer_expire_get_tv (struct timerlist *timerlist, struct timeval *tv)
 	timeval_adjust_to_msec (tv);
 	return (0);
 }
+#endif /* CODE_COVERAGE_COMPILE_OUT */
 
 int timerlist_timeout_msec (struct timerlist *timerlist)
 {