From: Marc G. Fournier Date: Mon, 26 Aug 1996 06:53:03 +0000 (+0000) Subject: Take a chance that I'm correct: X-Git-Tag: PG95-1_08~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aeb6656433e13f4d0dc382d18aa93373ed744c8a;p=postgresql Take a chance that I'm correct: attno is used in an if statement, yet isn't defined, nor used anywhere else (~line 945) --- diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 296f0cd5c7..8f89ecf7a3 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -6,7 +6,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.2.2.1 1996/08/24 20:53:39 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.2.2.2 1996/08/26 06:53:03 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -742,7 +742,7 @@ CopyReadAttribute(FILE *fp, bool *isnull, char *delim) if (feof(fp)) { *isnull = (bool) false; return(NULL); - }else if (reading_from_input && attno == 0 && i == 0 && c == '.') { + }else if (reading_from_input && i == 0 && c == '.') { attribute[0] = c; c = getc(fp); if (c == '\n') {