summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/support/scratch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/support/scratch.c')
-rw-r--r--src/third_party/wiredtiger/src/support/scratch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/support/scratch.c b/src/third_party/wiredtiger/src/support/scratch.c
index a81be9aaad2..5fca8e12eb4 100644
--- a/src/third_party/wiredtiger/src/support/scratch.c
+++ b/src/third_party/wiredtiger/src/support/scratch.c
@@ -179,7 +179,8 @@ __wt_buf_set_printable_format(WT_SESSION_IMPL *session,
session, buf, "%s%" PRIu64, sep, pv.u.u));
sep = ",";
break;
- WT_ILLEGAL_VALUE_ERR(session, pv.type);
+ default:
+ WT_ERR(__wt_illegal_value(session, pv.type));
}
}
WT_ERR_NOTFOUND_OK(ret);