summaryrefslogtreecommitdiffstats
path: root/lib/radix-tree.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-01-06 14:40:49 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-06 15:59:11 -0800
commit40bc1f2dbc29ab88176a650e51f2246526105093 (patch)
tree0c9fd0f1a3430118214b06acfdb61bb80bb4fa7d /lib/radix-tree.c
parent60348802e9cb137ee86590c3e4c57c1ec2e8fc69 (diff)
downloadop-kernel-dev-40bc1f2dbc29ab88176a650e51f2246526105093.zip
op-kernel-dev-40bc1f2dbc29ab88176a650e51f2246526105093.tar.gz
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 <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud