A small fix, where default: condition in case had not 'break;'...not required,

but, IMHO, cleaner
This commit is contained in:
Marc G. Fournier 1997-04-15 17:46:52 +00:00
parent 88d740462f
commit 9778b946e5
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.22 1997/04/02 18:33:50 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.23 1997/04/15 17:46:52 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -223,6 +223,7 @@ printf( "nabstimein- %d fields are type %d (DTK_DATE=%d)\n", nf, dtype, DTK_DATE
default:
elog(WARN,"Bad abstime (internal coding error) '%s'",str);
result = INVALID_ABSTIME;
break;
};
return result;
@ -550,6 +551,7 @@ abstime_datetime(AbsoluteTime abstime)
default:
*result = abstime + ((date2j( 1970, 1, 1) - date2j( 2000, 1, 1))*86400);
break;
};
return(result);