Mark DateTimeParseError() noreturn

This avoids a warning from clang 3.2 about an uninitialized variable
'dtype' in date_in().
This commit is contained in:
Peter Eisentraut 2012-08-21 23:30:05 -04:00
parent 0830cc9fe0
commit 5c45d2f878
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ extern int DecodeISO8601Interval(char *str,
int *dtype, struct pg_tm * tm, fsec_t *fsec);
extern void DateTimeParseError(int dterr, const char *str,
const char *datatype);
const char *datatype) __attribute__((noreturn));
extern int DetermineTimeZoneOffset(struct pg_tm * tm, pg_tz *tzp);