Tired of seeing that 'unused variable' warning...
authorTom Lane
Fri, 16 Jul 1999 23:15:46 +0000 (23:15 +0000)
committerTom Lane
Fri, 16 Jul 1999 23:15:46 +0000 (23:15 +0000)
src/interfaces/ecpg/lib/ecpglib.c

index aae621fed45c0df5411083defee161dfa8a82c53..a51b1ce69c34686ef6808720c824e5b560a25034 100644 (file)
@@ -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;