Commit 06dde51e authored by Tom Lane's avatar Tom Lane

Silence compiler warning.

parent 7711e40b
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.47 2000/11/30 18:38:45 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.48 2000/12/07 02:00:47 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -229,8 +229,10 @@ nocache_index_getattr(IndexTuple tup, ...@@ -229,8 +229,10 @@ nocache_index_getattr(IndexTuple tup,
* check to see if desired att is null * check to see if desired att is null
* ---------------- * ----------------
*/ */
bp = (char *) tup + sizeof(*tup); /* "knows" t_bits are
* here! */ /* XXX "knows" t_bits are just after fixed tuple header! */
bp = (bits8 *) ((char *) tup + sizeof(*tup));
#ifdef IN_MACRO #ifdef IN_MACRO
/* This is handled in the macro */ /* This is handled in the macro */
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.153 2000/12/03 20:45:39 tgl Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.154 2000/12/07 02:04:30 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -2206,7 +2206,9 @@ pqPacketSend(PGconn *conn, const char *buf, size_t len) ...@@ -2206,7 +2206,9 @@ pqPacketSend(PGconn *conn, const char *buf, size_t len)
#define MAXBUFSIZE 256 #define MAXBUFSIZE 256
int parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage) { static int
parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage)
{
char *service = conninfo_getval(options, "service"); char *service = conninfo_getval(options, "service");
char *serviceFile = SYSCONFDIR "/pg_service.conf"; char *serviceFile = SYSCONFDIR "/pg_service.conf";
int group_found = 0; int group_found = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment