diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-11-30 22:34:54 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-12-10 02:53:34 +0000 |
commit | efef4366f18515ec78cb025928c20fb7986cd98f (patch) | |
tree | a9ef29ee9049be67309c28e46f98fcad3e249df8 /pidl/lib/Parse/Pidl/Dump.pm | |
parent | b6913830bf626c8d7059f4cda3a4fc1bb3081973 (diff) | |
download | samba-efef4366f18515ec78cb025928c20fb7986cd98f.tar.gz |
pidl: use perl warnings
Warnings are good. If we turn on warnings with 'use warnings', we will
see bugs that have lain latent for years.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'pidl/lib/Parse/Pidl/Dump.pm')
-rw-r--r-- | pidl/lib/Parse/Pidl/Dump.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Dump.pm b/pidl/lib/Parse/Pidl/Dump.pm index 4e623db673a..5d241b812c5 100644 --- a/pidl/lib/Parse/Pidl/Dump.pm +++ b/pidl/lib/Parse/Pidl/Dump.pm @@ -27,6 +27,7 @@ $VERSION = '0.01'; @EXPORT_OK = qw(DumpType DumpTypedef DumpStruct DumpEnum DumpBitmap DumpUnion DumpFunction); use strict; +use warnings; use Parse::Pidl::Util qw(has_property); my($res); |