X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinsecur.c;h=76dcae915d86e9398f1e06a7840b9604522869c3;hb=510f49e405e71ba5c97875e7a019364e1ef5fac9;hp=b7060b3b0a5d2a681360aaff1cb0b5b2c2341031;hpb=7acc0a2aa1377ddd575ab635d364b48fd8686fce;p=PuTTY.git diff --git a/windows/winsecur.c b/windows/winsecur.c index b7060b3b..76dcae91 100644 --- a/windows/winsecur.c +++ b/windows/winsecur.c @@ -94,8 +94,16 @@ PSID get_user_sid(void) int getsids(char **error) { +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wmissing-braces" +#endif SID_IDENTIFIER_AUTHORITY world_auth = SECURITY_WORLD_SID_AUTHORITY; SID_IDENTIFIER_AUTHORITY nt_auth = SECURITY_NT_AUTHORITY; +#ifdef __clang__ +#pragma clang diagnostic pop +#endif + int ret = FALSE; *error = NULL;