summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/ecpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/preproc/ecpg.c')
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c
index 825b292a54..f12b799850 100644
--- a/src/interfaces/ecpg/preproc/ecpg.c
+++ b/src/interfaces/ecpg/preproc/ecpg.c
@@ -141,20 +141,6 @@ main(int argc, char *const argv[])
/* initialize lex */
lex_init();
- /* initialize cursor list */
- for (ptr = cur; ptr != NULL;)
- {
- struct cursor *c;
-
- free(ptr->name);
- free(ptr->command);
- c = ptr;
- ptr = ptr->next;
- free(c);
- }
-
- cur = NULL;
-
/* we need two includes and a constant */
fprintf(yyout, "/* Processed by ecpg (%d.%d.%d) */\n/*These two include files are added by the preprocessor */\n#include <ecpgtype.h>\n#include <ecpglib.h>\n\nconst int no_auto_trans = %d;\n\n", MAJOR_VERSION, MINOR_VERSION, PATCHLEVEL, no_auto_trans);