Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 07:50:44 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Craig Rodrigues <rodrigc@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r221365 - head/lib/libstand
Message-ID:  <201105030750.44240.jhb@freebsd.org>
In-Reply-To: <201105030743.p437hl8M075368@svn.freebsd.org>
References:  <201105030743.p437hl8M075368@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, May 03, 2011 3:43:47 am Craig Rodrigues wrote:
> Author: rodrigc
> Date: Tue May  3 07:43:47 2011
> New Revision: 221365
> URL: http://svn.freebsd.org/changeset/base/221365
> 
> Log:
>   - Comment out unused variable.
>   - Add parentheses around expression to eliminate compiler warning.
> 
> Modified:
>   head/lib/libstand/dosfs.c
> 
> Modified: head/lib/libstand/dosfs.c
> 
==============================================================================
> --- head/lib/libstand/dosfs.c	Tue May  3 07:39:54 2011	(r221364)
> +++ head/lib/libstand/dosfs.c	Tue May  3 07:43:47 2011	(r221365)
> @@ -358,7 +358,7 @@ dos_stat(struct open_file *fd, struct st
>  static int
>  dos_readdir(struct open_file *fd, struct dirent *d)
>  {
> -    DOS_FILE *f = (DOS_FILE *)fd->f_fsdata;
> +    /* DOS_FILE *f = (DOS_FILE *)fd->f_fsdata; */

Err, wouldn't it be better to just remove it if it is unused?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105030750.44240.jhb>