[ntpsec commit] Remove debris - a conditioned-out reference to an undefined variable.
Eric S. Raymond
esr at ntpsec.org
Wed Sep 30 02:43:05 UTC 2015
Module: ntpsec
Branch: master
Commit: d90bd4aac63a272256f7adc4c0150a20b5140ce8
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=d90bd4aac63a272256f7adc4c0150a20b5140ce8
Author: Eric S. Raymond <esr at thyrsus.com>
Date: Tue Sep 29 22:41:42 2015 -0400
Remove debris - a conditioned-out reference to an undefined variable.
---
ntpd/check_y2k.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/ntpd/check_y2k.c b/ntpd/check_y2k.c
index af37244..f98099b 100644
--- a/ntpd/check_y2k.c
+++ b/ntpd/check_y2k.c
@@ -115,11 +115,7 @@ main( void )
int year;
struct tm tmbuf;
- Time = time( (time_t *)NULL )
-#ifdef TESTTIMEOFFSET
- + test_time_offset
-#endif
- ;
+ Time = time( (time_t *)NULL );
LocalTime = *localtime_r( &Time, &tmbuf);
year = ( sizeof( u_long ) > 4 ) /* save max span using year as temp */
More information about the vc
mailing list