]> granicus.if.org Git - postgresql/commitdiff
Suppress compiler warning in MULTIBYTE case.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 Jan 2001 06:54:57 +0000 (06:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 Jan 2001 06:54:57 +0000 (06:54 +0000)
src/backend/commands/copy.c

index 25f6bace81e6925a5b430eb86eab3597c7c8aed4..e26dac47ce66b464720750a8720f85583abbc877 100644 (file)
@@ -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;