]> git.sesse.net Git - stockfish/commitdiff
Fix a coverity scan warning
authorMarco Costalba <mcostalba@gmail.com>
Sun, 18 Jan 2015 09:41:56 +0000 (10:41 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 18 Jan 2015 09:41:56 +0000 (10:41 +0100)
Coverity scan warns about uninitialized 'sf' argument when
calling probe(). Actually it is a false positive because
argument is passed by reference and assigned inside
probe(). Nevertheless it is a hint that fucntion signature
is a bit tricky, so rewrite it in a more conventional way,
assigning 'sf' from probe() return value.

No functional change.


No differences found