Skip to content

Commit e851856

Browse files
authored
Merge pull request #63624 from al45tair/eng/PR-105400572
[Threading][Win32] Fix a warning.
2 parents 520636c + 3d6f203 commit e851856

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/swift/Threading/Impl/Win32/Win32Defs.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ typedef struct _RTL_CONDITION_VARIABLE *PRTL_CONDITION_VARIABLE;
4747
typedef PRTL_CONDITION_VARIABLE PCONDITION_VARIABLE;
4848

4949
// These have to be #defines, to avoid problems with <windows.h>
50-
#define RTL_SRWLOCK_INIT \
51-
{ 0 }
50+
#define RTL_SRWLOCK_INIT {0}
5251
#define SRWLOCK_INIT RTL_SRWLOCK_INIT
5352
#define FLS_OUT_OF_INDEXES ((DWORD)0xFFFFFFFF)
5453

0 commit comments

Comments
 (0)