diff options
author | Tom Tromey <tromey@cygnus.com> | 1999-04-19 09:43:18 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-04-19 09:43:18 +0000 |
commit | 3d79e10b31d4280d34b3870f1454a4431bb6ef9e (patch) | |
tree | b3ed838c6cf22d1f355fdb87c091dfbba81ecbd5 /libjava/java | |
parent | 80e93e9adf62ffe3fb57002df9322cff37b008ae (diff) | |
download | gcc-3d79e10b31d4280d34b3870f1454a4431bb6ef9e.zip gcc-3d79e10b31d4280d34b3870f1454a4431bb6ef9e.tar.gz gcc-3d79e10b31d4280d34b3870f1454a4431bb6ef9e.tar.bz2 |
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
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/lang/natSystem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/natSystem.cc b/libjava/java/lang/natSystem.cc index 10acfce..27034ff 100644 --- a/libjava/java/lang/natSystem.cc +++ b/libjava/java/lang/natSystem.cc @@ -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) |