[cfe-commits] r39697 - /cfe/cfe/trunk/Parse/ParseExpr.cpp

bwendlin at cs.uiuc.edu bwendlin at cs.uiuc.edu
Wed Jul 11 09:47:16 PDT 2007


Author: bwendlin
Date: Wed Jul 11 11:47:16 2007
New Revision: 39697

URL: http://llvm.org/viewvc/llvm-project?rev=39697&view=rev
Log:
Submitted by: Bill Wendling

Small cleanup. No need to assign to a variable before returning.

Modified:
    cfe/cfe/trunk/Parse/ParseExpr.cpp

Modified: cfe/cfe/trunk/Parse/ParseExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/ParseExpr.cpp?rev=39697&r1=39696&r2=39697&view=diff

==============================================================================
--- cfe/cfe/trunk/Parse/ParseExpr.cpp (original)
+++ cfe/cfe/trunk/Parse/ParseExpr.cpp Wed Jul 11 11:47:16 2007
@@ -564,8 +564,7 @@
   case tok::kw_dynamic_cast:
   case tok::kw_reinterpret_cast:
   case tok::kw_static_cast:
-    Res = ParseCXXCasts();
-    return Res;
+    return ParseCXXCasts();
   default:
     Diag(Tok, diag::err_expected_expression);
     return ExprResult(true);





More information about the cfe-commits mailing list