]> granicus.if.org Git - clang/commit
[Sema] Remove a dead assignment, NFC.
authorVedant Kumar <vsk@apple.com>
Thu, 3 Nov 2016 06:35:16 +0000 (06:35 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 3 Nov 2016 06:35:16 +0000 (06:35 +0000)
commit54a3b8848e8917168e0177ca93755853f66a0693
tree9d8a1118f700d1197fb6298ea68efd7553889279
parent05717751534cd98361c9817a724a7a8d7847c62b
[Sema] Remove a dead assignment, NFC.

The assignment to NextIsDereference is either followed by (1) another,
unrelated assignment to NextIsDereference or by (2) an early loop exit.

Found by clang's static analyzer: http://llvm.org/reports/scan-build

(While we're at it fix a typo.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285879 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp