6989690: java/net native code compiler warnings
Reviewed-by: alanb
This commit is contained in:
parent
39bcf3ff5f
commit
9c061c00c8
@ -2255,7 +2255,7 @@ static void mcast_join_leave(JNIEnv *env, jobject this,
|
|||||||
{
|
{
|
||||||
struct in_addr in;
|
struct in_addr in;
|
||||||
struct in_addr *inP = ∈
|
struct in_addr *inP = ∈
|
||||||
int len = sizeof(struct in_addr);
|
socklen_t len = sizeof(struct in_addr);
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
struct ip_mreqn mreqn;
|
struct ip_mreqn mreqn;
|
||||||
|
@ -158,7 +158,7 @@ Java_sun_net_spi_DefaultProxySelector_getSystemProxy(JNIEnv *env,
|
|||||||
char *phost = NULL;
|
char *phost = NULL;
|
||||||
char *mode = NULL;
|
char *mode = NULL;
|
||||||
int pport = 0;
|
int pport = 0;
|
||||||
int use_proxy;
|
int use_proxy = 0;
|
||||||
int use_same_proxy = 0;
|
int use_same_proxy = 0;
|
||||||
const char* urlhost;
|
const char* urlhost;
|
||||||
jobject isa = NULL;
|
jobject isa = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user