a3f531cee6
Reported when compiling with clang-windows-arm64. ../qga/vss-win32/install.cpp:537:9: error: variable 'hr' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] if (!(ControlService(service, SERVICE_CONTROL_STOP, NULL))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qga/vss-win32/install.cpp:545:12: note: uninitialized use occurs here return hr; ^~ Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Fixes: |
||
---|---|---|
.. | ||
install.cpp | ||
install.h | ||
meson.build | ||
provider.cpp | ||
qga-vss.def | ||
qga-vss.idl | ||
requester.cpp | ||
requester.h | ||
vss-common.h | ||
vss-handles.h |