public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: xfs@oss.sgi.com
Subject: [PATCH] tiny nametest.c warning fixes
Date: Sat, 9 Aug 2008 21:59:08 +0200	[thread overview]
Message-ID: <20080809195908.GA9005@lst.de> (raw)

Include ctype.h for toupper/tolower and remove an unused variable.


Signed-off-by: Christoph Hellwig <hch@lst.de>

--- 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)

             reply	other threads:[~2008-08-09 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-09 19:59 Christoph Hellwig [this message]
2008-08-28 23:16 ` [PATCH] tiny nametest.c warning fixes Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080809195908.GA9005@lst.de \
    --to=hch@lst.de \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox