summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Samba4.pm
diff options
context:
space:
mode:
Diffstat (limited to 'pidl/lib/Parse/Pidl/Samba4.pm')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4.pm b/pidl/lib/Parse/Pidl/Samba4.pm
index 1deb708689..20c518dceb 100644
--- a/pidl/lib/Parse/Pidl/Samba4.pm
+++ b/pidl/lib/Parse/Pidl/Samba4.pm
@@ -102,11 +102,10 @@ sub ArrayBrackets($)
return $res;
}
-sub DeclLong($;$)
+sub DeclLong($)
{
- my ($e, $p) = @_;
+ my ($e) = shift;
my $res = "";
- $p = "" unless defined($p);
if (has_property($e, "represent_as")) {
$res .= mapTypeName($e->{PROPERTIES}->{represent_as})." ";
@@ -119,7 +118,7 @@ sub DeclLong($;$)
$res .= ElementStars($e);
}
- $res .= $p.$e->{NAME};
+ $res .= $e->{NAME};
$res .= ArrayBrackets($e);
return $res;