From f11f0a40d6a7f087512a0d1c52ebde5dbba2a76f Mon Sep 17 00:00:00 2001 From: "Liam P. White" Date: Wed, 8 Oct 2014 20:24:25 -0400 Subject: Un-deprecate NodeEventVector - The resulting refactoring from such a deprecation will not be worth the effort applied to it, and the current system is not wrong or broken. (bzr r13341.1.263) --- src/xml/node-event-vector.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/xml') diff --git a/src/xml/node-event-vector.h b/src/xml/node-event-vector.h index 416640b86..16add2960 100644 --- a/src/xml/node-event-vector.h +++ b/src/xml/node-event-vector.h @@ -58,11 +58,7 @@ struct NodeEventVector { void (* attr_changed) (Node *repr, char const *key, char const *oldval, char const *newval, bool is_interactive, void* data); void (* content_changed) (Node *repr, char const *oldcontent, char const *newcontent, void * data); void (* order_changed) (Node *repr, Node *child, Node *oldref, Node *newref, void* data); -} -#ifdef __GNUC__ -__attribute__((deprecated)) -#endif -; +}; } } -- cgit v1.2.3 From 7fdadb51f279180e7613a7ef703cda1818fe007d Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Sun, 12 Oct 2014 14:27:21 +0200 Subject: Fix "Value stored to 'child' is never read" (bzr r13598) --- src/xml/repr-io.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/xml') diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index 0319bb5e3..a4146f215 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -623,7 +623,6 @@ static Node *sp_repr_svg_read_node (Document *xml_doc, xmlNodePtr node, const gc repr->setContent(reinterpret_cast(node->content)); } - child = node->xmlChildrenNode; for (child = node->xmlChildrenNode; child != NULL; child = child->next) { Node *crepr = sp_repr_svg_read_node (xml_doc, child, default_ns, prefix_map); if (crepr) { -- cgit v1.2.3