pidl:NDR/Client: avoid useless memcpy()
authorStefan Metzmacher <metze@samba.org>
Thu, 26 Sep 2013 18:38:12 +0000 (20:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 Jan 2014 07:37:38 +0000 (08:37 +0100)
commit2ba9453e9ff5d911a146e786ff8878ef67717366
tree054c426df8b9eb6390ebc79652384b9e4bfa9209
parentf50b561336c7b6c08300e6e477859d1f9fab62c2
pidl:NDR/Client: avoid useless memcpy()

If the src and dest pointer of memcpy would be the same
we should avoid it in order to avoid valgrind warnings.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm