From: Ben Gras Date: Fri, 10 Nov 2006 18:13:02 +0000 (+0000) Subject: Fix some warnings (by Ingmar Alting) X-Git-Tag: v3.1.3~144 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/jquery.js?a=commitdiff_plain;h=f8a5db5ab0e53f5e6013a6d636294a8443e0c25a;p=minix.git Fix some warnings (by Ingmar Alting) --- diff --git a/lib/sysutil/tickdelay.c b/lib/sysutil/tickdelay.c index fcf770711..bb74160bb 100644 --- a/lib/sysutil/tickdelay.c +++ b/lib/sysutil/tickdelay.c @@ -14,10 +14,9 @@ long ticks; /* number of ticks to wait */ * previous) alarm will also delay the previous alarm. */ message m, m_alarm; - clock_t time_left; int s; - if (ticks <= 0) return; /* check for robustness */ + if (ticks <= 0) return OK; /* check for robustness */ m.ALRM_ENDPT = SELF; /* SELF means this process nr */ m.ALRM_EXP_TIME = ticks; /* request message after ticks */