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

Commit aed384f

Browse files
committed
Quiet a compiler warning (see line 729+, retvalue)
1 parent dd5b78f commit aed384f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/libpq/hba.c

Lines changed: 3 additions & 1 deletion
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.6 1996/11/03 06:56:52 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.7 1996/11/03 07:00:57 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -19,6 +19,7 @@
1919
#include <sys/socket.h>
2020
#include <netinet/in.h>
2121
#include <arpa/inet.h>
22+
#include <unistd.h>
2223
#if defined(sparc_solaris)
2324
#include "port/inet_aton.h"
2425
#endif
@@ -750,6 +751,7 @@ hba_recvauth(const Port *port, const char database[], const char user[],
750751
}
751752
break;
752753
default:
754+
retvalue = STATUS_ERROR;
753755
Assert(false);
754756
}
755757
}

0 commit comments

Comments
 (0)