mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Remove 'unused variable `open_errno''
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * 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) {  
 | 
			
		||||
      /* The open of the config file failed.  */
 | 
			
		||||
      
 | 
			
		||||
      const int open_errno = errno;
 | 
			
		||||
      
 | 
			
		||||
      *host_ok_p = false;
 | 
			
		||||
 | 
			
		||||
      sprintf(PQerrormsg,
 | 
			
		||||
@@ -652,8 +650,6 @@ verify_against_usermap(const char DataDir[],
 | 
			
		||||
    if (file == 0) {  
 | 
			
		||||
      /* The open of the map file failed.  */
 | 
			
		||||
      
 | 
			
		||||
      const int open_errno = errno;
 | 
			
		||||
      
 | 
			
		||||
      *checks_out_p = false;
 | 
			
		||||
 | 
			
		||||
      sprintf(PQerrormsg,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user