Remove unneeded strcpy() of timezone.

This commit is contained in:
Bruce Momjian 1998-07-19 10:08:15 +00:00
parent 4e6eb4aca1
commit aac163336f
1 changed files with 1 additions and 7 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.43 1998/06/15 19:29:35 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.44 1998/07/19 10:08:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -78,12 +78,6 @@ GetCurrentAbsoluteTime(void)
* tzname? - tgl 97/03/18
*/
strftime(CTZName, MAXTZLEN, "%Z", tm);
/*
* XXX FreeBSD man pages indicate that this should work - tgl
* 97/04/23
*/
strcpy(CTZName, tm->tm_zone);
#endif
#else /* ! USE_POSIX_TIME */
CTimeZone = tb.timezone * 60;