From 67bc7ddbe9d42507f276381796f0be1ff01111d4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 12 Feb 2005 19:28:23 +0000 Subject: r5360: Remove a couple of unused functions. (This used to be commit d8a0a6972156c3211001b7f98e990c167be2468c) --- source4/build/pidl/ndr.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build/pidl/ndr.pm') diff --git a/source4/build/pidl/ndr.pm b/source4/build/pidl/ndr.pm index 2bf7f4d205..149d5f93b9 100644 --- a/source4/build/pidl/ndr.pm +++ b/source4/build/pidl/ndr.pm @@ -551,7 +551,7 @@ sub ParseElementPrintScalar($$) if (util::is_fixed_array($e)) { ParseElementPrintBuffer($e, $var_prefix); - } elsif (util::has_direct_buffers($e)) { + } elsif ($e->{POINTERS} || util::array_size($e)) { pidl "\tndr_print_ptr(ndr, \"$e->{NAME}\", $var_prefix$e->{NAME});\n"; pidl "\tndr->depth++;\n"; ParseElementPrintBuffer($e, $var_prefix); -- cgit