Commits

Shlomi Fish committed 2895ce1

Remove more

Comments (0)

Files changed (1)

 }
 
 
-sub writer_test($$;$)
-{   my ($writer, $data, $doc) = @_;
+sub writer_test
+{   my ($writer, $data) = @_;
 
-    $doc ||= XML::LibXML->createDocument('1.0', 'UTF-8');
+    my $doc = XML::LibXML->createDocument('1.0', 'UTF-8');
 
     return $writer->($doc, $data);
 }