From: Francesco Cosoleto <cosoleto@gmail.com>
To: util-linux@vger.kernel.org
Cc: Francesco Cosoleto <cosoleto@gmail.com>
Subject: [PATCH] whereis: remove unused value warning
Date: Tue, 8 Nov 2011 23:14:54 +0100 [thread overview]
Message-ID: <1320790495-29290-3-git-send-email-cosoleto@gmail.com> (raw)
In-Reply-To: <1320790495-29290-1-git-send-email-cosoleto@gmail.com>
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
---
misc-utils/whereis.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index 9f74963..925cc93 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -268,7 +268,7 @@ static void fillpath(void)
return;
pathcp = xstrdup(path);
- for (tmp = pathcp; ;tmp = NULL, tok) {
+ for (tmp = pathcp; ; tmp = NULL) {
tok = strtok_r(tmp, ":", &key);
if (!tok)
break;
--
1.7.3.4
next prev parent reply other threads:[~2011-11-08 22:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 22:14 [PATCH] fsck.minix: remove unnecessary memset calls Francesco Cosoleto
2011-11-08 22:14 ` [PATCH] libblkid: silence a format string warning Francesco Cosoleto
2011-11-08 22:14 ` Francesco Cosoleto [this message]
2011-11-08 22:14 ` [PATCH] whereis: silence comparison between signed/unsigned warning Francesco Cosoleto
2011-11-09 9:07 ` Karel Zak
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=1320790495-29290-3-git-send-email-cosoleto@gmail.com \
--to=cosoleto@gmail.com \
--cc=util-linux@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).