summaryrefslogtreecommitdiff
path: root/test/packing
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-03-04 08:15:38 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-03-04 08:15:38 -0500
commitd031dedfbcce1a6de7379b75c3ba5dc3a23a3033 (patch)
tree7b9fda99fd7048e22e2198f80c34afd4a53d2e3f /test/packing
parentf35e4f49c37a32f838a8d7f3d925ee2cea207891 (diff)
downloadmongo-d031dedfbcce1a6de7379b75c3ba5dc3a23a3033.tar.gz
Fix -Werror=maybe-uninitialized complaint.
Diffstat (limited to 'test/packing')
-rw-r--r--test/packing/packing-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/packing/packing-test.c b/test/packing/packing-test.c
index 803e1fb2b37..32b7d3d17ec 100644
--- a/test/packing/packing-test.c
+++ b/test/packing/packing-test.c
@@ -37,6 +37,8 @@ check(const char *fmt, ...)
va_list ap;
size_t len;
+ len = 0; /* -Werror=maybe-uninitialized */
+
va_start(ap, fmt);
assert(__wt_struct_sizev(NULL, &len, fmt, ap) == 0);
va_end(ap);