summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Dump.pm
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2019-11-30 22:34:54 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-12-10 02:53:34 +0000
commitefef4366f18515ec78cb025928c20fb7986cd98f (patch)
treea9ef29ee9049be67309c28e46f98fcad3e249df8 /pidl/lib/Parse/Pidl/Dump.pm
parentb6913830bf626c8d7059f4cda3a4fc1bb3081973 (diff)
downloadsamba-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.pm1
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);