Fixed most of the warnings present when processing docs with -w enabled.
* perl5lib/LinuxDocTools.pm: - Value of <HANDLE> construct can be "0"; test with defined() at ../perl5lib/LinuxDocTools.pm line 140. + Use defined ($dtd2 = <$TMP>) - Subroutine process_options redefined at ../perl5lib/LinuxDocTools.pm line 362. + Utils::process_options is always used with fulll name. No need to import it. - Use of uninitialized value in concatenation (.) or string at ../perl5lib/LinuxDocTools.pm line 419. + /etc/sgml.catalog had bad (unneeded) prefix. * lib/fmt/fmt_lyx.pl: - Use of uninitialized value in numeric eq (==) at /tmp/ldt.OGoYc31777/linuxdoc-tools/fmt/fmt_lyx.pl line 222, ... Make sure $inlookchange is initialized. * lib/fmt/fmt_rtf.pl: - Use of uninitialized value in concatenation (.) or string at /tmp/ldt.OGoYc31777/linuxdoc-tools/fmt/fmt_rtf.pl line 53. + Better check * lib/fmt/fmt_txt.pl: - "my" variable $number masks earlier declaration in same scope at /tmp/ldt.OGoYc31777/linuxdoc-tools/fmt/fmt_txt.pl line 266. + Remove redundant my. * doc/Makedoc.sh: print next backend to be used.
Showing with 14 additions and 6 deletions