X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=windows%2Fwinsecur.c;h=76dcae915d86e9398f1e06a7840b9604522869c3;hb=9a2730806cdf2191cb8ea22c9090c2e20e3a25ba;hp=440c66fff42ed999e48a619d50391d63d05569a3;hpb=f6c1c8819b5d90a97124b62ee07b0e06d6bbb6c3;p=PuTTY.git diff --git a/windows/winsecur.c b/windows/winsecur.c index 440c66ff..76dcae91 100644 --- a/windows/winsecur.c +++ b/windows/winsecur.c @@ -94,9 +94,17 @@ 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; - int ret; +#ifdef __clang__ +#pragma clang diagnostic pop +#endif + + int ret = FALSE; *error = NULL;