We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1476a2d commit 6ec20f2Copy full SHA for 6ec20f2
1 file changed
ext/libxml/ruby_xml_node.c
@@ -773,10 +773,6 @@ static VALUE rxml_node_line_num(VALUE self)
773
long line_num;
774
xnode = rxml_get_xnode(self);
775
776
- if (!xmlLineNumbersDefaultValue)
777
- rb_warn(
778
- "Line numbers were not retained: use XML::Parser::default_line_numbers=true");
779
-
780
line_num = xmlGetLineNo(xnode);
781
if (line_num == -1)
782
return (Qnil);
0 commit comments