Home GnuPG
Diffusion nPth a075e11080bf

w32: Initialize variable to silence compiler warning.

Description

w32: Initialize variable to silence compiler warning.

* w32/npth.c (mutex_init_check): Initialize.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 30 2023, 7:13 AM
Parents
rPTH7b9dc4d24979: tests: Use -no-fast-install LDFLAGS for Windows.
Branches
Unknown
Tags
Unknown

Event Timeline

Hmm, gcc used to figure out that attr is initialized by npth_mutexattr_init. One of these gcc warning regressions?

Possibly, it may consider the case where errno==0 when failure.