Skip to content

Commit 64f0a8a

Browse files
committed
Runtime: Fix -Wmissing-field-initializers warnings in DispatchShims.h.
1 parent e27f195 commit 64f0a8a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/swift/Runtime/DispatchShims.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ swift_dispatch_thread_get_current_override_qos_floor()
3131
return dispatch_thread_get_current_override_qos_floor();
3232
}
3333

34-
return (dispatch_thread_override_info_s) {0};
34+
return (dispatch_thread_override_info_s){
35+
0, // can_override
36+
0, // unused
37+
QOS_CLASS_UNSPECIFIED, // override_qos_floor
38+
};
3539
}
3640

3741
static inline int

0 commit comments

Comments
 (0)