svn commit: r221365 - head/lib/libstand
John Baldwin
jhb at freebsd.org
Tue May 3 12:21:09 UTC 2011
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
More information about the svn-src-all
mailing list