removed error checking of localtime_r() because wrs does not implement

what is in the posix standard.
This commit is contained in:
Jeff Hill
2000-01-28 21:15:30 +00:00
parent 184abc2857
commit d4096f5c5e

View File

@@ -231,10 +231,10 @@ osiTime::operator tm_nano_sec () const
//
// reentrant version of localtime() - from POSIX RT
//
// ???? WRS prototype is incorrect ????
// WRS returns int and others return &tm.ansi_tm on
// succes?
//
p = localtime_r (&ansiTimeTicks.ts, &tm.ansi_tm);
assert (p == &tm.ansi_tm);
localtime_r (&ansiTimeTicks.ts, &tm.ansi_tm);
tm.nSec = this->nSec;