mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-04-06 20:31:03 +08:00
Remove unused ecpg variable.
This commit is contained in:
parent
3783c9d4df
commit
d2e7afe54a
@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.43 2009/08/07 10:51:20 meskes Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.44 2009/08/07 16:47:53 momjian Exp $ */
|
||||
|
||||
#define POSTGRES_ECPG_INTERNAL
|
||||
#include "postgres_fe.h"
|
||||
@ -396,8 +396,6 @@ ecpg_get_data(const PGresult *results, int act_tuple, int act_field, int lineno,
|
||||
char *str = (char *) ((long) var + offset * act_tuple);
|
||||
if (varcharsize == 0 || varcharsize > size)
|
||||
{
|
||||
char *last;
|
||||
|
||||
strncpy(str, pval, size + 1);
|
||||
/* do the rtrim() */
|
||||
if (type == ECPGt_string)
|
||||
|
Loading…
x
Reference in New Issue
Block a user