mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 00:03:01 -04:00
Mark DateTimeParseError() noreturn
This avoids a warning from clang 3.2 about an uninitialized variable 'dtype' in date_in().
This commit is contained in:
parent
0830cc9fe0
commit
5c45d2f878
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user