From fe340eb92fd2e5dfef977dc391d2a43ce970e0ea Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 25 Mar 2009 23:23:06 +0100 Subject: s3:rpc_parse: remove unused init_unistr(). Guenther --- source3/rpc_parse/parse_misc.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'source3/rpc_parse') diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index ffbd67befe..1ea4ecf46f 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -128,25 +128,6 @@ bool smb_io_uuid(const char *desc, struct GUID *uuid, return True; } -/******************************************************************* - Inits a UNISTR structure. -********************************************************************/ - -void init_unistr(UNISTR *str, const char *buf) -{ - size_t len; - - if (buf == NULL) { - str->buffer = NULL; - return; - } - - len = rpcstr_push_talloc(talloc_tos(), &str->buffer, buf); - if (len == (size_t)-1) { - str->buffer = NULL; - } -} - /******************************************************************* Inits a UNISTR2 structure. ********************************************************************/ -- cgit