]> granicus.if.org Git - postgresql/commitdiff
Remove unused ecpg variable.
authorBruce Momjian <bruce@momjian.us>
Fri, 7 Aug 2009 16:47:53 +0000 (16:47 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 7 Aug 2009 16:47:53 +0000 (16:47 +0000)
src/interfaces/ecpg/ecpglib/data.c

index 3fef207017ef369284d2b3b8eb30e7cb5686900d..9f4d3a86b378ecd88061a8d1bb6d37f0cf307bac 100644 (file)
@@ -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)