summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2016-02-18 14:34:53 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2016-02-18 14:34:53 +1100
commitf312f22dff972056d1d6bd248d48f3c2a05d7cee (patch)
tree08debdc4f4dc3f4d6a5bde0b22d6da72141663d2
parent5d739aaf9cbd578411732314042f8070b9432084 (diff)
downloadmongo-f312f22dff972056d1d6bd248d48f3c2a05d7cee.tar.gz
WT-2399 clean up GCC 4.1 build warning.
-rw-r--r--test/cursor_order/cursor_order_ops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cursor_order/cursor_order_ops.c b/test/cursor_order/cursor_order_ops.c
index e2578f7544e..e5c3eed07f5 100644
--- a/test/cursor_order/cursor_order_ops.c
+++ b/test/cursor_order/cursor_order_ops.c
@@ -180,6 +180,9 @@ reverse_scan_op(
WT_UNUSED(session);
WT_UNUSED(s);
+ /* Make GCC 4.1 happy */
+ prev_key = this_key = 0;
+
/* Reset the cursor */
cursor->reset(cursor);