mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Defend against some potential spurious compiler warnings in 86eaf208e.
Author: David Rowley Discussion: https://postgr.es/m/CAKJS1f-AbCFeFU92GZZYqNOVRnPtUwczSYmR2NHCyf9uHUnNiw@mail.gmail.com
This commit is contained in:
parent
fb421231da
commit
b2bb3dc0e0
1 changed files with 4 additions and 0 deletions
|
|
@ -181,6 +181,8 @@ invalid_syntax:
|
|||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for type %s: \"%s\"",
|
||||
"smallint", s)));
|
||||
|
||||
return 0; /* keep compiler quiet */
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -255,6 +257,8 @@ invalid_syntax:
|
|||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for type %s: \"%s\"",
|
||||
"integer", s)));
|
||||
|
||||
return 0; /* keep compiler quiet */
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue