Browse Source
*best is checked for null before the comparison against the uninitialized variable ever happens, so this isn't a real issue. Initialize it to zero so that we don't fail to compile on certain gcc versions. plugins/pay.c: In function ‘add_shadow_route’: plugins/pay.c:644:18: error: ‘sample’ may be used uninitialized in this function if (!best || v > sample) { ~~^~~~~~~~ Signed-off-by: William Casarin <jb55@jb55.com>issue-2504
William Casarin
6 years ago
committed by
Christian Decker
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue