summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-25 23:23:06 +0100
committerGünther Deschner <gd@samba.org>2009-03-26 10:42:13 +0100
commitfe340eb92fd2e5dfef977dc391d2a43ce970e0ea (patch)
treef56dbb238e960ab14c264c2a76941b2cec3299b3 /source3/rpc_parse
parent24d5229a81e1067662930d42f8c59b3a0adac1e0 (diff)
downloadsamba-fe340eb92fd2e5dfef977dc391d2a43ce970e0ea.tar.gz
samba-fe340eb92fd2e5dfef977dc391d2a43ce970e0ea.tar.bz2
samba-fe340eb92fd2e5dfef977dc391d2a43ce970e0ea.zip
s3:rpc_parse: remove unused init_unistr().
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_misc.c19
1 files changed, 0 insertions, 19 deletions
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
@@ -129,25 +129,6 @@ bool smb_io_uuid(const char *desc, struct GUID *uuid,
}
/*******************************************************************
- 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.
********************************************************************/