Jacek Caban : qmgr: Avoid implicit enum casts.
Module: wine Branch: master Commit: c254ff8dccc4d9505f81d2a17f7a3f9a0283b2fc URL: https://gitlab.winehq.org/wine/wine/-/commit/c254ff8dccc4d9505f81d2a17f7a3f9... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Oct 24 19:44:05 2023 +0200 qmgr: Avoid implicit enum casts. --- dlls/qmgr/job.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c index 233d894b3ea..aa164051691 100644 --- a/dlls/qmgr/job.c +++ b/dlls/qmgr/job.c @@ -831,7 +831,8 @@ static HRESULT WINAPI BackgroundCopyJob_RemoveCredentials( EnterCriticalSection(&job->cs); - new_cred->Target = new_cred->Scheme = 0; + new_cred->Target = 0; + new_cred->Scheme = 0; free(new_cred->Credentials.Basic.UserName); new_cred->Credentials.Basic.UserName = NULL; free(new_cred->Credentials.Basic.Password);
participants (1)
-
Alexandre Julliard