We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4db4221 commit 465df08Copy full SHA for 465df08
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
@@ -154,7 +154,7 @@ static int dev_papr_vpd_null_handle(void)
154
static int papr_vpd_close_handle_without_reading(void)
155
{
156
const int devfd = open(DEVPATH, O_RDONLY);
157
- struct papr_location_code lc;
+ struct papr_location_code lc = { .str = "", };
158
int fd;
159
160
SKIP_IF_MSG(devfd < 0 && errno == ENOENT,
0 commit comments