summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/support/hex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/support/hex.c')
-rw-r--r--src/third_party/wiredtiger/src/support/hex.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/src/support/hex.c b/src/third_party/wiredtiger/src/support/hex.c
index 5fb8d4bc190..d42a84154ca 100644
--- a/src/third_party/wiredtiger/src/support/hex.c
+++ b/src/third_party/wiredtiger/src/support/hex.c
@@ -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.
*
@@ -83,10 +83,6 @@ __wt_raw_to_esc_hex(
*/
WT_RET(__wt_buf_init(session, to, size * 3 + 1));
- /*
- * In the worst case, every character takes up 3 spaces, plus a
- * trailing nul byte.
- */
for (p = from, t = to->mem, i = size; i > 0; --i, ++p)
if (isprint((int)*p)) {
if (*p == '\\')