Skip to content

Commit 1c156db

Browse files
committed
[Gardening] Remove tautological comparison
1 parent bd1dce8 commit 1c156db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/AST/IndexSubset.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ using namespace swift;
1616

1717
IndexSubset *
1818
IndexSubset::getFromString(ASTContext &ctx, StringRef string) {
19-
if (string.size() < 0) return nullptr;
2019
unsigned capacity = string.size();
2120
llvm::SmallBitVector indices(capacity);
2221
for (unsigned i : range(capacity)) {

0 commit comments

Comments
 (0)