]> granicus.if.org Git - postgresql/commitdiff
Take a chance that I'm correct:
authorMarc G. Fournier <scrappy@hub.org>
Mon, 26 Aug 1996 06:53:03 +0000 (06:53 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 26 Aug 1996 06:53:03 +0000 (06:53 +0000)
attno is used in an if statement, yet isn't defined, nor used
anywhere else (~line 945)

src/backend/commands/copy.c

index 296f0cd5c79d961d5ce56572a1bf10dd6d9a3841..8f89ecf7a3f69206d1683f1af7636ce8e8cc56c5 100644 (file)
@@ -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') {