check_unused_ret.c: fix check for local variables
commit843a152dc1193455bcc052c4b6c3939439db1cb2
authorDan Carpenter <error27@gmail.com>
Fri, 18 Dec 2009 20:41:10 +0000 (18 22:41 +0200)
committerDan Carpenter <error27@gmail.com>
Fri, 18 Dec 2009 20:41:10 +0000 (18 22:41 +0200)
tree7ec9c4c011ac3daa63019a1da05925bc3c0800bb
parent1a6a2c67311ab318563e82f641ddf0cd3eddd579
check_unused_ret.c: fix check for local variables

This check is supposed to only care about assignments to local variables,
but the test was broken because it was using the wrong symbol pointer.

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