summaryrefslogtreecommitdiff
path: root/source4/build/pidl/ndr_parser.pm
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-07-05 10:06:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:16 -0500
commit11ca21e93c247c74e85ed1ce284893d6b70cd8cf (patch)
tree94be4a4ce5d3ca67dd9e93ecffea5b9de177c5fc /source4/build/pidl/ndr_parser.pm
parent42bb490709f2ab2d569b53b8bd66dde4246711a4 (diff)
downloadsamba-11ca21e93c247c74e85ed1ce284893d6b70cd8cf.tar.gz
samba-11ca21e93c247c74e85ed1ce284893d6b70cd8cf.tar.bz2
samba-11ca21e93c247c74e85ed1ce284893d6b70cd8cf.zip
r8162: Revert my pad8 hack.
Andrew Bartlett (This used to be commit 8e78830ffc9280b48e1e690d95a94f1645e6e496)
Diffstat (limited to 'source4/build/pidl/ndr_parser.pm')
-rw-r--r--source4/build/pidl/ndr_parser.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/build/pidl/ndr_parser.pm b/source4/build/pidl/ndr_parser.pm
index 48e243aa0c..ba6b9d58da 100644
--- a/source4/build/pidl/ndr_parser.pm
+++ b/source4/build/pidl/ndr_parser.pm
@@ -452,9 +452,6 @@ sub ParseSubcontextPushEnd($$$$)
pidl "NDR_CHECK(ndr_push_subcontext_header(ndr, $l->{HEADER_SIZE}, $subcontext_size, $ndr));";
pidl "NDR_CHECK(ndr_push_bytes(ndr, $ndr->data, $ndr->offset));";
- if (defined $l->{PAD8}) {
- pidl "NDR_CHECK(ndr_push_align(ndr, 8));";
- }
deindent;
pidl "}";
}
@@ -504,9 +501,6 @@ sub ParseSubcontextPullEnd($$$)
$advance = "$ndr->offset";
}
pidl "NDR_CHECK(ndr_pull_advance(ndr, $advance));";
- if (defined $l->{PAD8}) {
- pidl "NDR_CHECK(ndr_pull_align(ndr, 8));";
- }
deindent;
pidl "}";
}