From 1e1125fcbe83aafdbbfdcd0338abe01fee1d5d99 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 9 Aug 2011 15:15:43 -0700 Subject: rt: Initialize "result" in all constructors for cmp --- src/rt/rust_shape.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rt/rust_shape.cpp') diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp index 6e6d8fd4b09..69ac5fdb433 100644 --- a/src/rt/rust_shape.cpp +++ b/src/rt/rust_shape.cpp @@ -1063,7 +1063,8 @@ public: in_sp ? in_sp : other.sp, in_params ? in_params : other.params, in_tables ? in_tables : other.tables, - other.dp) {} + other.dp), + result(0) {} cmp(const cmp &other, const ptr_pair &in_dp) : data(other.task, other.sp, other.params, other.tables, -- cgit 1.4.1-3-g733a5