From: Aaron Ballman Date: Tue, 7 Jul 2015 13:21:26 +0000 (+0000) Subject: Silence a -Wunused-variable warning; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6321868600f38d7a1dab85c1a2f15416904a7962;p=clang Silence a -Wunused-variable warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241580 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseInit.cpp b/lib/Parse/ParseInit.cpp index fe7e8f8ea3..4896ff0d23 100644 --- a/lib/Parse/ParseInit.cpp +++ b/lib/Parse/ParseInit.cpp @@ -252,11 +252,9 @@ ExprResult Parser::ParseInitializerWithPotentialDesignator() { // Three cases. This is a message send to a type: [type foo] // This is a message send to super: [super foo] // This is a message sent to an expr: [super.bar foo] - switch (Sema::ObjCMessageKind Kind - = Actions.getObjCMessageKind(getCurScope(), II, IILoc, - II == Ident_super, - NextToken().is(tok::period), - ReceiverType)) { + switch (Actions.getObjCMessageKind( + getCurScope(), II, IILoc, II == Ident_super, + NextToken().is(tok::period), ReceiverType)) { case Sema::ObjCSuperMessage: CheckArrayDesignatorSyntax(*this, StartLoc, Desig); return ParseAssignmentExprWithObjCMessageExprStart(StartLoc,