diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-11-19 08:38:28 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-11-19 08:38:28 -0500 |
commit | fbff8192e153133d6322216c6841868129f5e15a (patch) | |
tree | 2598a96b91f0aeee958826ba0078d2fa161bd4d4 /src/packing | |
parent | 6ea78d92d10d1b1a801b51ae9c3b5356aa6f040a (diff) | |
download | mongo-fbff8192e153133d6322216c6841868129f5e15a.tar.gz |
Warning 550: Symbol 'newbuf' (line 155) not accessed
Diffstat (limited to 'src/packing')
-rw-r--r-- | src/packing/pack_impl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/packing/pack_impl.c b/src/packing/pack_impl.c index 447c887dc6f..30d28dfb63c 100644 --- a/src/packing/pack_impl.c +++ b/src/packing/pack_impl.c @@ -144,19 +144,18 @@ __wt_struct_unpack_size(WT_SESSION_IMPL *session, */ int __wt_struct_repack(WT_SESSION_IMPL *session, const char *infmt, - const char *outfmt, const WT_ITEM *inbuf, WT_ITEM *outbuf, - void **reallocp) + const char *outfmt, const WT_ITEM *inbuf, WT_ITEM *outbuf, void **reallocp) { WT_DECL_PACK_VALUE(pvin); WT_DECL_PACK_VALUE(pvout); WT_DECL_RET; WT_PACK packin, packout; const uint8_t *before, *end, *p; - uint8_t *newbuf, *pout; + uint8_t *pout; size_t len; const void *start; - start = newbuf = NULL; + start = NULL; p = inbuf->data; end = p + inbuf->size; |