From 45123530e52d9d096d5a01f02ba4672bd75b9305 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Feb 2012 13:40:52 +1100 Subject: s3-charcnv: Remove unused rpcstr_push() Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett --- source3/lib/charcnv.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source3/lib/charcnv.c') diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index f5bcab80cf..ecf62e551a 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -595,14 +595,6 @@ size_t dos_PutUniCode(char *dst,const char *src, size_t len, bool null_terminate } -/* Converts a string from internal samba format to unicode - */ - -int rpcstr_push(void *dest, const char *src, size_t dest_len, int flags) -{ - return push_ucs2(NULL, dest, src, dest_len, flags|STR_UNICODE|STR_NOALIGN); -} - /* Converts a string from internal samba format to unicode. Always terminates. * Actually just a wrapper round push_ucs2_talloc(). */ -- cgit