aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-07-16 23:15:46 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-07-16 23:15:46 +0000
commit8ee07b506da967f5c3cf28219907cca398721adb (patch)
tree4a08ca333f454ecd47f226a2d3c819f5831a121a
parent05933f4ec1a57a013b72a18589acd6cfe7f427ab (diff)
downloadpostgresql-8ee07b506da967f5c3cf28219907cca398721adb.tar.gz
postgresql-8ee07b506da967f5c3cf28219907cca398721adb.zip
Tired of seeing that 'unused variable' warning...
-rw-r--r--src/interfaces/ecpg/lib/ecpglib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/lib/ecpglib.c b/src/interfaces/ecpg/lib/ecpglib.c
index aae621fed45..a51b1ce69c3 100644
--- a/src/interfaces/ecpg/lib/ecpglib.c
+++ b/src/interfaces/ecpg/lib/ecpglib.c
@@ -510,7 +510,6 @@ ECPGexecute(struct statement * stmt)
case ECPGt_char_variable:
{
int slen = strlen((char *) var->value);
- char *tmp;
if (!(newcopy = ecpg_alloc(slen + 1, stmt->lineno)))
return false;