mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Sema: Remove some unnecessary (void) getInterfaceType() calls
This commit is contained in:
@@ -143,9 +143,6 @@ static ValueDecl *deriveInitDecl(DerivedConformance &derived, Type paramType,
|
||||
// Synthesize the body.
|
||||
synthesizer(initDecl);
|
||||
|
||||
// Compute the interface type of the initializer.
|
||||
(void)initDecl->getInterfaceType();
|
||||
|
||||
initDecl->setAccess(derived.Nominal->getFormalAccess());
|
||||
|
||||
C.addSynthesizedDecl(initDecl);
|
||||
|
||||
Reference in New Issue
Block a user