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

Commitb2bb3dc

Browse files
committed
Defend against some potential spurious compiler warnings in86eaf20.
Author: David RowleyDiscussion:https://postgr.es/m/CAKJS1f-AbCFeFU92GZZYqNOVRnPtUwczSYmR2NHCyf9uHUnNiw@mail.gmail.com
1 parentfb42123 commitb2bb3dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/backend/utils/adt/numutils.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ pg_strtoint16(const char *s)
181181
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
182182
errmsg("invalid input syntax for type %s: \"%s\"",
183183
"smallint",s)));
184+
185+
return0;/* keep compiler quiet */
184186
}
185187

186188
/*
@@ -255,6 +257,8 @@ pg_strtoint32(const char *s)
255257
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
256258
errmsg("invalid input syntax for type %s: \"%s\"",
257259
"integer",s)));
260+
261+
return0;/* keep compiler quiet */
258262
}
259263

260264
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp