natSystem.cc (init_properties): Only declare pwd_entry once.
* java/lang/natSystem.cc (init_properties): Only declare pwd_entry once. From Anthony Green. From-SVN: r26545
This commit is contained in:
@@ -276,7 +276,7 @@ java::lang::System::init_properties (void)
|
||||
buf_r = (char *) _Jv_AllocBytes (len_r);
|
||||
}
|
||||
#else
|
||||
struct passwd *pwd_entry = getpwuid (user_id);
|
||||
pwd_entry = getpwuid (user_id);
|
||||
#endif /* HAVE_GETPWUID_R */
|
||||
|
||||
if (pwd_entry != NULL)
|
||||
|
||||
Reference in New Issue
Block a user