mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Remove 'unused variable `open_errno''
This commit is contained in:
parent
c9002ecb21
commit
dd5b78f1c1
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.5 1996/11/03 06:52:13 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.6 1996/11/03 06:56:52 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -349,8 +349,6 @@ find_hba_entry(const char DataDir[], const struct in_addr ip_addr,
|
|||||||
if (file == 0) {
|
if (file == 0) {
|
||||||
/* The open of the config file failed. */
|
/* The open of the config file failed. */
|
||||||
|
|
||||||
const int open_errno = errno;
|
|
||||||
|
|
||||||
*host_ok_p = false;
|
*host_ok_p = false;
|
||||||
|
|
||||||
sprintf(PQerrormsg,
|
sprintf(PQerrormsg,
|
||||||
@ -652,8 +650,6 @@ verify_against_usermap(const char DataDir[],
|
|||||||
if (file == 0) {
|
if (file == 0) {
|
||||||
/* The open of the map file failed. */
|
/* The open of the map file failed. */
|
||||||
|
|
||||||
const int open_errno = errno;
|
|
||||||
|
|
||||||
*checks_out_p = false;
|
*checks_out_p = false;
|
||||||
|
|
||||||
sprintf(PQerrormsg,
|
sprintf(PQerrormsg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user