]> granicus.if.org Git - clang/commitdiff
Silence a -Wunused-variable warning; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Tue, 7 Jul 2015 13:21:26 +0000 (13:21 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 7 Jul 2015 13:21:26 +0000 (13:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241580 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseInit.cpp

index fe7e8f8ea3530485028d524ee9616c4a1ad2f40e..4896ff0d235a4c3b1558cdaba233dec700121023 100644 (file)
@@ -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,