summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);