Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit dd5b78f

Browse files
committed
Remove 'unused variable `open_errno''
1 parent c9002ec commit dd5b78f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/backend/libpq/hba.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.5 1996/11/03 06:52:13 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.6 1996/11/03 06:56:52 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -349,8 +349,6 @@ find_hba_entry(const char DataDir[], const struct in_addr ip_addr,
349349
if (file == 0) {
350350
/* The open of the config file failed. */
351351

352-
const int open_errno = errno;
353-
354352
*host_ok_p = false;
355353

356354
sprintf(PQerrormsg,
@@ -652,8 +650,6 @@ verify_against_usermap(const char DataDir[],
652650
if (file == 0) {
653651
/* The open of the map file failed. */
654652

655-
const int open_errno = errno;
656-
657653
*checks_out_p = false;
658654

659655
sprintf(PQerrormsg,

0 commit comments

Comments
 (0)