Skip to content

Commit 0710b29

Browse files
authored
Merge pull request swiftlang#400 from compnerd/cleanup
queue: clean up a covered switch
2 parents ac525a4 + 6995fc0 commit 0710b29

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/queue.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,8 +1124,6 @@ _dispatch_qos_class_valid(dispatch_qos_class_t qos_class, int relative_priority)
11241124
case QOS_CLASS_USER_INTERACTIVE:
11251125
case QOS_CLASS_UNSPECIFIED:
11261126
break;
1127-
default:
1128-
return false;
11291127
}
11301128
if (relative_priority > 0 || relative_priority < QOS_MIN_RELATIVE_PRIORITY){
11311129
return false;

0 commit comments

Comments
 (0)