1.1 --- a/src/os/linux/vm/os_linux.cpp Thu Feb 18 16:15:28 2016 +0100 1.2 +++ b/src/os/linux/vm/os_linux.cpp Tue Mar 01 12:50:37 2016 +0530 1.3 @@ -2755,7 +2755,7 @@ 1.4 1.5 1.6 int os::Linux::sched_getcpu_syscall(void) { 1.7 - unsigned int cpu; 1.8 + unsigned int cpu = 0; 1.9 int retval = -1; 1.10 1.11 #if defined(IA32) 1.12 @@ -4263,8 +4263,8 @@ 1.13 sigaddset(&(actp->sa_mask), sig); 1.14 } 1.15 1.16 - sa_handler_t hand; 1.17 - sa_sigaction_t sa; 1.18 + sa_handler_t hand = NULL; 1.19 + sa_sigaction_t sa = NULL; 1.20 bool siginfo_flag_set = (actp->sa_flags & SA_SIGINFO) != 0; 1.21 // retrieve the chained handler 1.22 if (siginfo_flag_set) { 1.23 @@ -4469,7 +4469,7 @@ 1.24 1.25 static const char* get_signal_handler_name(address handler, 1.26 char* buf, int buflen) { 1.27 - int offset; 1.28 + int offset = 0; 1.29 bool found = os::dll_address_to_library_name(handler, buf, buflen, &offset); 1.30 if (found) { 1.31 // skip directory names