remove unncessary comparison as suggested by #355

This commit is contained in:
matthias.ringwald@gmail.com 2013-12-19 22:52:33 +00:00
parent 9314412306
commit d8e47b18fa

View File

@ -149,7 +149,7 @@ void posix_execute(void) {
next_tv.tv_usec += 1000000;
next_tv.tv_sec--;
}
if (next_tv.tv_sec < 0 || (next_tv.tv_sec == 0 && next_tv.tv_usec < 0)){
if (next_tv.tv_sec < 0){
next_tv.tv_sec = 0;
next_tv.tv_usec = 0;
}