xfs
[Top] [All Lists]

Re: [PATCH] tiny nametest.c warning fixes

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH] tiny nametest.c warning fixes
From: Christoph Hellwig <hch@xxxxxx>
Date: Fri, 29 Aug 2008 01:16:20 +0200
In-reply-to: <20080809195908.GA9005@xxxxxx>
References: <20080809195908.GA9005@xxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
ping?

On Sat, Aug 09, 2008 at 09:59:08PM +0200, Christoph Hellwig wrote:
> Include ctype.h for toupper/tolower and remove an unused variable.
> 
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> 
> --- xfstests/src/nametest.c   24 Jun 2008 16:29:51 -0000      1.8
> +++ xfstests/src/nametest.c   9 Aug 2008 19:55:37 -0000
> @@ -16,6 +16,7 @@
>   * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
> +#include <ctype.h>
>  #include "global.h"
>  
>  /*
> @@ -308,7 +309,6 @@ main(int argc, char *argv[])
>  char *get_name(struct info *ip)
>  {
>       static char path[PATH_MAX];
> -     int i;
>       char *p;
>  
>       if (!mixcase)
---end quoted text---


<Prev in Thread] Current Thread [Next in Thread>