From: Simon Tatham Date: Fri, 3 Feb 2017 19:36:46 +0000 (+0000) Subject: Missing initialisation in winsecur.c. X-Git-Tag: 0.68~56 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=7acc0a2aa1377ddd575ab635d364b48fd8686fce;p=PuTTY.git Missing initialisation in winsecur.c. We might have returned true from getsids() by mistake, even if something had gone wrong. Thanks again, clang. --- diff --git a/windows/winsecur.c b/windows/winsecur.c index 440c66ff..b7060b3b 100644 --- a/windows/winsecur.c +++ b/windows/winsecur.c @@ -96,7 +96,7 @@ int getsids(char **error) { SID_IDENTIFIER_AUTHORITY world_auth = SECURITY_WORLD_SID_AUTHORITY; SID_IDENTIFIER_AUTHORITY nt_auth = SECURITY_NT_AUTHORITY; - int ret; + int ret = FALSE; *error = NULL;