Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c45d2f

Browse files
committed
Mark DateTimeParseError() noreturn
This avoids a warning from clang 3.2 about an uninitialized variable'dtype' in date_in().
1 parent0830cc9 commit5c45d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/utils/datetime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ extern int DecodeISO8601Interval(char *str,
285285
int*dtype,structpg_tm*tm,fsec_t*fsec);
286286

287287
externvoidDateTimeParseError(intdterr,constchar*str,
288-
constchar*datatype);
288+
constchar*datatype) __attribute__((noreturn));
289289

290290
externintDetermineTimeZoneOffset(structpg_tm*tm,pg_tz*tzp);
291291

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp