mirror of
https://github.com/postgres/postgres.git
synced 2025-06-08 22:02:03 +03:00
Quiet a compiler warning (see line 729+, retvalue)
This commit is contained in:
parent
dd5b78f1c1
commit
aed384f12d
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.6 1996/11/03 06:56:52 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.7 1996/11/03 07:00:57 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -19,6 +19,7 @@
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#include <unistd.h>
|
||||||
#if defined(sparc_solaris)
|
#if defined(sparc_solaris)
|
||||||
#include "port/inet_aton.h"
|
#include "port/inet_aton.h"
|
||||||
#endif
|
#endif
|
||||||
@ -750,6 +751,7 @@ hba_recvauth(const Port *port, const char database[], const char user[],
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
retvalue = STATUS_ERROR;
|
||||||
Assert(false);
|
Assert(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user