We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f6d2ff commit 98f4c1dCopy full SHA for 98f4c1d
include/swift/AST/Attr.h
@@ -3294,8 +3294,7 @@ class SemanticAvailableAttr final {
3294
public:
3295
SemanticAvailableAttr(const AvailableAttr *attr) : attr(attr) {
3296
assert(attr);
3297
- bool hasDomain = attr->getDomainOrIdentifier().isDomain();
3298
- assert(hasDomain);
+ assert(attr->getDomainOrIdentifier().isDomain());
3299
}
3300
3301
const AvailableAttr *getParsedAttr() const { return attr; }
0 commit comments