From fa940fda67f51401116315ff6d162f2fe916d5f3 Mon Sep 17 00:00:00 2001
From: "Vadim B. Mikheev" <vadim4o@yahoo.com>
Date: Tue, 3 Jun 1997 06:32:56 +0000
Subject: [PATCH] cc1: warnings being treated as errors dt.c: In function
 `timespan2tm': dt.c:1722: warning: unused variable `funit' dt.c:1722:
 warning: unused variable `iunit'

-> got rid of them.
---
 src/backend/utils/adt/dt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/utils/adt/dt.c b/src/backend/utils/adt/dt.c
index fef54a9da26..542246a52b9 100644
--- a/src/backend/utils/adt/dt.c
+++ b/src/backend/utils/adt/dt.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.23 1997/05/30 15:02:51 thomas Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.24 1997/06/03 06:32:56 vadim Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1719,7 +1719,7 @@ printf( "tm2datetime- time is %f %02d:%02d:%02d %f\n", time, tm->tm_hour, tm->tm
 int
 timespan2tm(TimeSpan span, struct tm *tm, float8 *fsec)
 {
-    double time, iunit, funit;
+    double time;
 
     if (span.month != 0) {
 	tm->tm_year = span.month / 12;
-- 
GitLab