HI Alan,
thanks for the response ... yes, rv = 0 is isn't strictly necessary
(in for a penny, in for a pound approach)
regards
Mark
On 16/07/2014 18:28, Alan Bateman wrote:
On 16/07/2014 18:00, Mark Sheppard wrote:
Hi
please oblige and review the following changes
http://cr.openjdk.java.net/~msheppar/8040810/webrev/
which address the issue raised in
https://bugs.openjdk.java.net/browse/JDK-8040810
resulting from static code analysis.
these changes explicitly initialize local function variables, which
are in the main
out parameters to other function calls and hence are set within the
called function.
It can be reasonably argued that the initialization is unnecessary,
but current coding
guidance is to perform the initialization
I assume in NET_Bind that it isn't necessary to initialize rv, same
thing in NET_SocketClose. Otherwise looks okay.
-Alan