implied: handle assignments inside conditions better
commitf7e3834a223e780ef99c85fe32cb1a195d7b971b
authorDan Carpenter <error27@gmail.com>
Tue, 26 Jul 2011 17:52:53 +0000 (26 20:52 +0300)
committerDan Carpenter <error27@gmail.com>
Tue, 26 Jul 2011 17:52:53 +0000 (26 20:52 +0300)
tree332dac470085aae23bafbe6c7c02127a638716c9
parent501c45c5fd257d6f7c3da7ac34e9a0d7956d9bf2
implied: handle assignments inside conditions better

There some code to handle conditions like this:
    if ((rc = some_func()) < 0) {

But it didn't actually work.  So I've fixed it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_implied.c