commit | 34921b592a29cd4422874004cd5700faa8c1e137 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sat Aug 01 01:39:59 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sat Aug 01 01:39:59 2009 +0000 |
tree | c0f51d64d317040e6171b549678acdf1dd233b9b | |
parent | 00df7d348c16573732c70302816164952173d239 [diff] [blame] |
More warnings for unused expressions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77763 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp index f00d600..65611f2 100644 --- a/lib/Sema/SemaStmt.cpp +++ b/lib/Sema/SemaStmt.cpp
@@ -649,6 +649,8 @@ << SecondType << Second->getSourceRange()); } + DiagnoseUnusedExprResult(First); + DiagnoseUnusedExprResult(Third); DiagnoseUnusedExprResult(Body); first.release();