aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xml.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-21 13:45:37 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-21 13:45:37 +0000
commit65ff056f3786c540d2c8fb108ef9234e5e0146e6 (patch)
tree92aa63734bcd9d22db3f974bc82b4660fbdf287d /epan/dissectors/packet-xml.c
parent0b097292d296725426ea6932ac50e1b30c3eb79b (diff)
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=36766
Diffstat (limited to 'epan/dissectors/packet-xml.c')
-rw-r--r--epan/dissectors/packet-xml.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xml.c b/epan/dissectors/packet-xml.c
index e48b4e1eba..b453160416 100644
--- a/epan/dissectors/packet-xml.c
+++ b/epan/dissectors/packet-xml.c
@@ -1062,7 +1062,6 @@ static void register_dtd(dtd_build_data_t* dtd_data, GString* errors) {
hfs = hf_arr;
etts = ett_arr;
g_ptr_array_add(hier,g_strdup("xml"));
- root_element = &xml_ns;
} else {
/*
* if we were given a proto_name the namespace will be registered