mirror of
https://github.com/postgres/postgres.git
synced 2025-06-08 22:02:03 +03:00
Suppress compiler warning in MULTIBYTE case.
This commit is contained in:
parent
c78e19544e
commit
bdb72d8765
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.129 2001/01/14 05:08:15 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.130 2001/01/19 06:54:57 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1161,7 +1161,6 @@ CopyAttributeOut(FILE *fp, char *server_string, char *delim)
|
|||||||
char *string_start;
|
char *string_start;
|
||||||
int mblen;
|
int mblen;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MULTIBYTE
|
#ifdef MULTIBYTE
|
||||||
@ -1174,6 +1173,7 @@ CopyAttributeOut(FILE *fp, char *server_string, char *delim)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
string = server_string;
|
string = server_string;
|
||||||
|
string_start = NULL; /* unused, but keep compiler quiet */
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
string = server_string;
|
string = server_string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user