diff options
author | Francesco Cosoleto <cosoleto@gmail.com> | 2011-11-08 23:14:54 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2011-11-09 10:04:24 +0100 |
commit | 3c6e035e1acad7d1b6faef67c809fa41efc49c48 (patch) | |
tree | b308cfd81f875669beeeb84c6dbf72a3489bcbdc | |
parent | 07ce7003b9276ae9aa3481d69cbf914fd1364f96 (diff) | |
download | util-linux-3c6e035e1acad7d1b6faef67c809fa41efc49c48.tar.gz |
whereis: remove unused value warning
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
-rw-r--r-- | 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 9f74963a..925cc939 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; |