]> Git Repo - linux.git/commit
lib: fix sparse shadowed variable warning
authorHarvey Harrison <[email protected]>
Tue, 6 Jan 2009 22:40:49 +0000 (14:40 -0800)
committerLinus Torvalds <[email protected]>
Tue, 6 Jan 2009 23:59:11 +0000 (15:59 -0800)
commit40bc1f2dbc29ab88176a650e51f2246526105093
tree0c9fd0f1a3430118214b06acfdb61bb80bb4fa7d
parent60348802e9cb137ee86590c3e4c57c1ec2e8fc69
lib: fix sparse shadowed variable warning

pos is always set before being used, no need to declare a
second one inside the if() block.

lib/prio_heap.c:34:7: warning: symbol 'pos' shadows an earlier one
lib/prio_heap.c:30:6: originally declared here

Signed-off-by: Harvey Harrison <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/prio_heap.c
This page took 0.052691 seconds and 4 git commands to generate.