Commit fa940fda authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

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.
parent b46e5b52
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 ...@@ -1719,7 +1719,7 @@ printf( "tm2datetime- time is %f %02d:%02d:%02d %f\n", time, tm->tm_hour, tm->tm
int int
timespan2tm(TimeSpan span, struct tm *tm, float8 *fsec) timespan2tm(TimeSpan span, struct tm *tm, float8 *fsec)
{ {
double time, iunit, funit; double time;
if (span.month != 0) { if (span.month != 0) {
tm->tm_year = span.month / 12; tm->tm_year = span.month / 12;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment