mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[nodiscard] fix all InitOnceExecuteOnce usages
This commit is contained in:
@@ -1274,8 +1274,7 @@ end:
|
||||
static BOOL load_layout_file(void)
|
||||
{
|
||||
static INIT_ONCE once = INIT_ONCE_STATIC_INIT;
|
||||
InitOnceExecuteOnce(&once, load_layouts, nullptr, nullptr);
|
||||
return TRUE;
|
||||
return InitOnceExecuteOnce(&once, load_layouts, nullptr, nullptr);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user