From bdb72d87658e128148ec91daebd64e3775ae182f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 19 Jan 2001 06:54:57 +0000 Subject: [PATCH] Suppress compiler warning in MULTIBYTE case. --- src/backend/commands/copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0