Skip to content

Commit d2e7afe

Browse files
committed
Remove unused ecpg variable.
1 parent 3783c9d commit d2e7afe

File tree

1 file changed

+1
-3
lines changed
  • src/interfaces/ecpg/ecpglib

1 file changed

+1
-3
lines changed

src/interfaces/ecpg/ecpglib/data.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.43 2009/08/07 10:51:20 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.44 2009/08/07 16:47:53 momjian Exp $ */
22

33
#define POSTGRES_ECPG_INTERNAL
44
#include "postgres_fe.h"
@@ -396,8 +396,6 @@ ecpg_get_data(const PGresult *results, int act_tuple, int act_field, int lineno,
396396
char *str = (char *) ((long) var + offset * act_tuple);
397397
if (varcharsize == 0 || varcharsize > size)
398398
{
399-
char *last;
400-
401399
strncpy(str, pval, size + 1);
402400
/* do the rtrim() */
403401
if (type == ECPGt_string)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy