Commit d2e7afe5 authored by Bruce Momjian's avatar Bruce Momjian

Remove unused ecpg variable.

parent 3783c9d4
/* $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 #define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h" #include "postgres_fe.h"
...@@ -396,8 +396,6 @@ ecpg_get_data(const PGresult *results, int act_tuple, int act_field, int lineno, ...@@ -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); char *str = (char *) ((long) var + offset * act_tuple);
if (varcharsize == 0 || varcharsize > size) if (varcharsize == 0 || varcharsize > size)
{ {
char *last;
strncpy(str, pval, size + 1); strncpy(str, pval, size + 1);
/* do the rtrim() */ /* do the rtrim() */
if (type == ECPGt_string) if (type == ECPGt_string)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment