Commit 40bc1f2dbc29ab88176a650e51f2246526105093
Committed by
Linus Torvalds
1 parent
60348802e9
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/prio_heap.c