[MSGINA] Fix gcc x86 build

Addendum to commit 1499e7ef53.

Poor thing was crying that it was ignoring trigraph `??)`, even
though this whole thing was inside an `#if 0`-commented block...
Use something else instead.

```
msgina/shutdown.c: In function 'ShutdownDialog':
msgina/shutdown.c:1217:56: error: trigraph ??) ignored, use -trigraphs to enable [-Werror=trigraphs]
     pgContext->nShutdownAction = LoadShutdownSelState(???);

msgina/shutdown.c: At top level:
cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]
```
This commit is contained in:
Hermès Bélusca-Maïto
2025-09-05 11:49:31 +02:00
parent a1bbcee5e8
commit 38398fbaf3

View File

@@ -1213,8 +1213,8 @@ ShutdownDialog(
SHUTDOWN_DLG_CONTEXT Context = {0};
#if 0
ShutdownOptions = GetAllowedShutdownOptions(???, pgContext->UserToken);
pgContext->nShutdownAction = LoadShutdownSelState(???);
ShutdownOptions = GetAllowedShutdownOptions(hKeyCurrentUser, pgContext->UserToken);
pgContext->nShutdownAction = LoadShutdownSelState(hKeyCurrentUser);
ShutdownOptions &= ~dwExcludeOptions;
#endif
@@ -1259,7 +1259,7 @@ ShutdownDialog(
#if 0
if (ret == IDOK)
SaveShutdownSelState(???, pgContext->nShutdownAction);
SaveShutdownSelState(hKeyCurrentUser, pgContext->nShutdownAction);
#endif
return ret;