summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-02-13 12:38:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:48 -0500
commitff6e58a7c4da70880276aad482820b0d17be635b (patch)
tree7627c7bcd3c5ff08df8165ae4a00a0e930f35423 /source4/librpc/ndr
parentffa5c91d0fd63c789bb7d73cb91f50841fb4f503 (diff)
downloadsamba-ff6e58a7c4da70880276aad482820b0d17be635b.tar.gz
samba-ff6e58a7c4da70880276aad482820b0d17be635b.tar.bz2
samba-ff6e58a7c4da70880276aad482820b0d17be635b.zip
r5376: ORPC is NDR specific, so move it to ndr.pm.
Get rid of register_enum/register_bitmap, etc. (use list of types in ndr.pm instead) (This used to be commit efc2e41b8df3a0171cca57291929fb63760c1662)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_basic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index 8f43d6c18a..5eecb1d60b 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -486,9 +486,6 @@ NTSTATUS ndr_push_unique_ptr(struct ndr_push *ndr, const void *p)
{
uint32_t ptr = 0;
if (p) {
- /* we do this to ensure that we generate unique ref ids,
- which means we can handle the case where a MS programmer
- forgot to mark a pointer as unique */
ndr->ptr_count++;
ptr = ndr->ptr_count;
}