Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-3
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)