Skip to content

Commit fd8970c

Browse files
committed
test: initialize p_ops in test_lane_hold_release
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
1 parent 64e4c7e commit fd8970c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/test/obj_lane/obj_lane.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
/* Copyright 2015-2023, Intel Corporation */
3+
/* Copyright 2026, Hewlett Packard Enterprise Development LP */
34

45
/*
56
* obj_lane.c -- unit test for lanes
@@ -110,7 +111,7 @@ static void
110111
test_lane_hold_release(void)
111112
{
112113
struct ulog *mock_ulog = ZALLOC(SIZEOF_ULOG(1024));
113-
struct pmem_ops p_ops;
114+
struct pmem_ops p_ops = {0};
114115
struct operation_context *ctx = operation_new(mock_ulog, 1024,
115116
NULL, NULL, &p_ops, LOG_TYPE_REDO);
116117

0 commit comments

Comments
 (0)