[totem-pl-parser] move the variable delaration to begin of the block
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] move the variable delaration to begin of the block
- Date: Mon, 12 Apr 2010 12:30:10 +0000 (UTC)
commit 90ded2dc87ab703b7a052070c5e79842381571c5
Author: Shixin Zeng <zeng shixin gmail com>
Date: Sat Jan 16 22:31:34 2010 -0600
move the variable delaration to begin of the block
plparse/xmlparser.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plparse/xmlparser.c b/plparse/xmlparser.c
index b278260..7b82615 100644
--- a/plparse/xmlparser.c
+++ b/plparse/xmlparser.c
@@ -832,13 +832,14 @@ char *xml_escape_string (const char *s, xml_escape_quote_t quote_type)
}
static void xml_parser_dump_node (const xml_node_t *node, int indent) {
+ size_t l;
xml_property_t *p;
xml_node_t *n;
printf ("%*s<%s ", indent, "", node->name);
- size_t l = strlen (node->name);
+ l = strlen (node->name);
p = node->props;
while (p) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]