summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-19 19:00:28 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-19 19:00:28 +0000
commit70fb359bbf032612ea1f0ae70c96d05190086fb0 (patch)
treec9187eddbf6e83aea3bfa2896489b06c6e252354
parentef5e00ccb96ba585bc5c447f1d5f07cf01fbaf9d (diff)
downloadperl_checker-70fb359bbf032612ea1f0ae70c96d05190086fb0.tar
perl_checker-70fb359bbf032612ea1f0ae70c96d05190086fb0.tar.gz
perl_checker-70fb359bbf032612ea1f0ae70c96d05190086fb0.tar.bz2
perl_checker-70fb359bbf032612ea1f0ae70c96d05190086fb0.tar.xz
perl_checker-70fb359bbf032612ea1f0ae70c96d05190086fb0.zip
update Glib fake package so that it stops causing perl_checker to show
bogus "too many parameters" on some isa() calls (eg: on any.pm)
-rw-r--r--NEWS3
-rw-r--r--fake_packages/Glib.pm2
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 96c3e38..be9268f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- fix Glib fake package causing perl_checker to show bogus "too many
+ parameters" on some isa() calls
+
Version 1.2.16 - 18 March 2012, by Thierry Vignaud
- reduce perl_checker SNR on perl function expecting a variable number
diff --git a/fake_packages/Glib.pm b/fake_packages/Glib.pm
index 9f972a5..e182eb5 100644
--- a/fake_packages/Glib.pm
+++ b/fake_packages/Glib.pm
@@ -319,8 +319,6 @@ package Glib::Object::_LazyLoader;
our @ISA = qw();
sub AUTOLOAD() {}
sub _load { my ($_package) = @_ }
-sub can() {}
-sub isa() {}
package Glib::OptionContext;
our @ISA = qw();