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:
parent
80e93e9adf
commit
3d79e10b31
2 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue