[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hurd/console/console.c (netfs_get_dirents): remove unused variable
From: |
Samuel Thibault |
Subject: |
Re: hurd/console/console.c (netfs_get_dirents): remove unused variable |
Date: |
Sat, 1 Jun 2013 10:10:16 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Miguel Figueiredo, le Sat 01 Jun 2013 08:44:45 +0100, a écrit :
> diff --git a/console/console.c b/console/console.c
> index 0577ea0..f598565 100644
> --- a/console/console.c
> +++ b/console/console.c
> @@ -809,10 +809,7 @@ netfs_get_dirents (struct iouser *cred, struct node *dir,
> err = ((void *) *data == (void *) -1) ? errno : 0;
>
> if (! err)
> - /* Copy out the result. */
> {
> - char *p = *data;
> -
?? I see it used below: memcpy (p, &hdr, DIRENT_NAME_OFFS);
Samuel