Skip to content

Commit 1986870

Browse files
author
Nathan Hawes
committed
[IDE] Fix typo to address unused warning (NFC)
1 parent db0a6f7 commit 1986870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IDE/ExprContextAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void swift::ide::typeCheckContextAt(DeclContext *DC, SourceLoc Loc) {
104104
} else if (auto *defaultArg = dyn_cast<DefaultArgumentInitializer>(DC)) {
105105
if (auto *AFD = dyn_cast<AbstractFunctionDecl>(defaultArg->getParent())) {
106106
auto *Param = AFD->getParameters()->get(defaultArg->getIndex());
107-
(void*)Param->getTypeCheckedDefaultExpr();
107+
(void)Param->getTypeCheckedDefaultExpr();
108108
}
109109
}
110110
break;

0 commit comments

Comments
 (0)