]> granicus.if.org Git - clang/commitdiff
Thread safety analysis: fix warning.
authorDeLesley Hutchins <delesley@google.com>
Tue, 22 Apr 2014 14:51:04 +0000 (14:51 +0000)
committerDeLesley Hutchins <delesley@google.com>
Tue, 22 Apr 2014 14:51:04 +0000 (14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206899 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ThreadSafetyCommon.cpp

index cf9a7b8bf37d3da514891a3264e4e50fb8cf7638..b22d6421910633dba443fec90c5b453de149cf60 100644 (file)
@@ -362,9 +362,8 @@ til::SExpr *SExprBuilder::translateBinaryOperator(const BinaryOperator *BO,
   case BO_Comma:
     // The clang CFG should have already processed both sides.
     return translate(BO->getRHS(), Ctx);
-
-  return new (Arena) til::Undefined(BO);
   }
+  return new (Arena) til::Undefined(BO);
 }