summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-12 16:10:57 +1000
committerAndrew Tridgell <tridge@samba.org>2011-04-13 14:47:07 +1000
commitba2b7f72c0459123c6bf88ee1c272e94dbfdcf9b (patch)
tree5e4aed6bd83c1c8d6637d88a68fe61d0d1f7cbcd /source3/lib
parent8fcda44a1f70f0d6d0076620a672b99a2798a2f4 (diff)
downloadsamba-ba2b7f72c0459123c6bf88ee1c272e94dbfdcf9b.tar.gz
samba-ba2b7f72c0459123c6bf88ee1c272e94dbfdcf9b.tar.bz2
samba-ba2b7f72c0459123c6bf88ee1c272e94dbfdcf9b.zip
s3-lib Remove unused skip_unibuf()
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_unistr.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 5ec947ecbf..f279ceafc3 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -92,26 +92,6 @@ size_t dos_PutUniCode(char *dst,const char *src, size_t len, bool null_terminate
}
-/*******************************************************************
- Skip past a unicode string, but not more than len. Always move
- past a terminating zero if found.
-********************************************************************/
-
-char *skip_unibuf(char *src, size_t len)
-{
- char *srcend = src + len;
-
- while (src < srcend && SVAL(src,0)) {
- src += 2;
- }
-
- if(!SVAL(src,0)) {
- src += 2;
- }
-
- return src;
-}
-
/* Converts a string from internal samba format to unicode
*/