From: Tom Lane Date: Fri, 19 Jan 2001 06:54:57 +0000 (+0000) Subject: Suppress compiler warning in MULTIBYTE case. X-Git-Tag: REL7_1~783 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdb72d87658e128148ec91daebd64e3775ae182f;p=postgresql Suppress compiler warning in MULTIBYTE case. --- diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 25f6bace81..e26dac47ce 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -7,7 +7,7 @@ * * * 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; int mblen; int i; - #endif #ifdef MULTIBYTE @@ -1174,6 +1173,7 @@ CopyAttributeOut(FILE *fp, char *server_string, char *delim) else { string = server_string; + string_start = NULL; /* unused, but keep compiler quiet */ } #else string = server_string;