diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp index 6e6d8fd4b091..69ac5fdb433e 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,