mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-28 03:06:20 -04:00
[ecmascript] Removed debug fprintfs
This commit is contained in:
parent
0e42cf7d63
commit
bd7f271b0a
@ -505,7 +505,6 @@ walk_tree_query(dom_node *node, const char *selector, int depth)
|
|||||||
exc = dom_node_get_first_child(node, &child);
|
exc = dom_node_get_first_child(node, &child);
|
||||||
|
|
||||||
if (exc != DOM_NO_ERR) {
|
if (exc != DOM_NO_ERR) {
|
||||||
fprintf(stderr, "Exception raised for node_get_first_child\n");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
} else if (child != NULL) {
|
} else if (child != NULL) {
|
||||||
/* node has children; decend to children's depth */
|
/* node has children; decend to children's depth */
|
||||||
@ -526,8 +525,6 @@ walk_tree_query(dom_node *node, const char *selector, int depth)
|
|||||||
/* Go to next sibling */
|
/* Go to next sibling */
|
||||||
exc = dom_node_get_next_sibling(child, &next_child);
|
exc = dom_node_get_next_sibling(child, &next_child);
|
||||||
if (exc != DOM_NO_ERR) {
|
if (exc != DOM_NO_ERR) {
|
||||||
fprintf(stderr, "Exception raised for "
|
|
||||||
"node_get_next_sibling\n");
|
|
||||||
dom_node_unref(child);
|
dom_node_unref(child);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -572,7 +569,6 @@ walk_tree_query_append(dom_node *root, dom_node *node, const char *selector, int
|
|||||||
exc = dom_node_get_first_child(node, &child);
|
exc = dom_node_get_first_child(node, &child);
|
||||||
|
|
||||||
if (exc != DOM_NO_ERR) {
|
if (exc != DOM_NO_ERR) {
|
||||||
fprintf(stderr, "Exception raised for node_get_first_child\n");
|
|
||||||
return;
|
return;
|
||||||
} else if (child != NULL) {
|
} else if (child != NULL) {
|
||||||
/* node has children; decend to children's depth */
|
/* node has children; decend to children's depth */
|
||||||
@ -588,8 +584,6 @@ walk_tree_query_append(dom_node *root, dom_node *node, const char *selector, int
|
|||||||
/* Go to next sibling */
|
/* Go to next sibling */
|
||||||
exc = dom_node_get_next_sibling(child, &next_child);
|
exc = dom_node_get_next_sibling(child, &next_child);
|
||||||
if (exc != DOM_NO_ERR) {
|
if (exc != DOM_NO_ERR) {
|
||||||
fprintf(stderr, "Exception raised for "
|
|
||||||
"node_get_next_sibling\n");
|
|
||||||
dom_node_unref(child);
|
dom_node_unref(child);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user