diff options
Diffstat (limited to 'src/include/buf.i')
-rw-r--r-- | src/include/buf.i | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/include/buf.i b/src/include/buf.i index b8849396f01..95d945ec6d3 100644 --- a/src/include/buf.i +++ b/src/include/buf.i @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2014-2015 MongoDB, Inc. + * Copyright (c) 2014-2016 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -92,18 +92,6 @@ __wt_buf_setstr(WT_SESSION_IMPL *session, WT_ITEM *buf, const char *s) } /* - * __wt_buf_set_printable -- - * Set the contents of the buffer to a printable representation of a - * byte string. - */ -static inline int -__wt_buf_set_printable( - WT_SESSION_IMPL *session, WT_ITEM *buf, const void *from_arg, size_t size) -{ - return (__wt_raw_to_esc_hex(session, from_arg, size, buf)); -} - -/* * __wt_buf_free -- * Free a buffer. */ |