Skip to content

Commit 556e08a

Browse files
committed
remove extraneous returm statement
1 parent d9d0459 commit 556e08a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4169,10 +4169,10 @@ static ExprResult BuildStructuredBindingSizeTraitImpl(Sema &S, QualType T,
41694169
assert(!T->isDependentType());
41704170
std::optional<unsigned> Size =
41714171
S.GetDecompositionElementCount(T, ArgRange.getBegin());
4172-
if (!Size) {
4172+
4173+
if (!Size)
41734174
return S.Diag(Loc, diag::err_arg_is_not_destructurable) << T << ArgRange;
4174-
return ExprError();
4175-
}
4175+
41764176
Expr *Inner;
41774177
if (E)
41784178
Inner = new (S.getASTContext()) UnaryExprOrTypeTraitExpr(

0 commit comments

Comments
 (0)