summaryrefslogtreecommitdiff
path: root/epan/dtd_parse.l
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dtd_parse.l')
-rw-r--r--epan/dtd_parse.l2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dtd_parse.l b/epan/dtd_parse.l
index 545242d497..d2e5380f23 100644
--- a/epan/dtd_parse.l
+++ b/epan/dtd_parse.l
@@ -82,7 +82,6 @@
#define DTD_PARSE(token_type) \
{ DEBUG_DTD_TOKEN; \
- build_data->location = location; \
DtdParse(pParser, (token_type), new_token(yytext), build_data); \
if(build_data->error->len > 0) yyterminate(); \
}
@@ -326,7 +325,6 @@ extern dtd_build_data_t* dtd_parse(GString* s) {
build_data->elements = g_ptr_array_new();
build_data->attributes = g_ptr_array_new();
- build_data->location = NULL;
build_data->error = g_string_new("");
location = NULL;