* dired.c (Fsystem_groups): Remove unused local.

This commit is contained in:
Paul Eggert 2012-04-17 15:56:06 -07:00
parent 197b6f3c60
commit aba027e80c
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2012-04-17 Paul Eggert <eggert@cs.ucla.edu>
* dired.c (Fsystem_groups): Remove unused local.
2012-04-17 Glenn Morris <rgm@gnu.org>
* dired.c (Fsystem_users): Doc fix.

View file

@ -1023,7 +1023,7 @@ return a list with one element, taken from `user-real-login-name'. */)
(void)
{
Lisp_Object users = Qnil;
#if defined(HAVE_GETPWENT) && defined(HAVE_ENDPWENT)
#if defined HAVE_GETPWENT && defined HAVE_ENDPWENT
struct passwd *pw;
while ((pw = getpwent ()))
@ -1043,9 +1043,8 @@ The value may be nil if not supported on this platform. */)
(void)
{
Lisp_Object groups = Qnil;
#if defined(HAVE_GETGRENT) && defined(HAVE_ENDGRENT)
#if defined HAVE_GETGRENT && defined HAVE_ENDGRENT
struct group *gr;
int length;
while ((gr = getgrent ()))
groups = Fcons (DECODE_SYSTEM (build_string (gr->gr_name)), groups);