1 Avoid build failure with -Werror=maybe-uninitialized
2 --- libipt-2.1/libipt/test/src/ptunit-msec_cache.c.orig 2023-10-12 09:39:11.000000000 +0200
3 +++ libipt-2.1/libipt/test/src/ptunit-msec_cache.c 2024-01-10 18:37:13.791960352 +0100
4 @@ -228,7 +228,7 @@ static struct ptunit_result fill_null(vo
5 const struct pt_mapped_section *msec;
6 struct pt_msec_cache mcache;
9 + struct pt_asid asid = {0, };
12 memset(&mcache, 0, sizeof(mcache));
13 @@ -300,7 +300,7 @@ static struct ptunit_result read(struct
14 static struct ptunit_result fill_nomap(struct test_fixture *tfix)
16 const struct pt_mapped_section *msec;
17 - struct pt_asid asid;
18 + struct pt_asid asid = {0, };
19 struct pt_section *section;
22 @@ -325,7 +325,7 @@ static struct ptunit_result fill(struct
24 const struct pt_mapped_section *msec;
25 struct pt_section *section;
26 - struct pt_asid asid;
27 + struct pt_asid asid = {0, };
30 memset(&asid, 0, sizeof(asid));