diff options
author | Francesco Cosoleto | 2011-11-08 23:14:54 +0100 |
---|---|---|
committer | Karel Zak | 2011-11-09 10:04:24 +0100 |
commit | 3c6e035e1acad7d1b6faef67c809fa41efc49c48 (patch) | |
tree | b308cfd81f875669beeeb84c6dbf72a3489bcbdc /misc-utils/whereis.c | |
parent | libblkid: silence a format string warning [-Wformat] (diff) | |
download | kernel-qcow2-util-linux-3c6e035e1acad7d1b6faef67c809fa41efc49c48.tar.gz kernel-qcow2-util-linux-3c6e035e1acad7d1b6faef67c809fa41efc49c48.tar.xz kernel-qcow2-util-linux-3c6e035e1acad7d1b6faef67c809fa41efc49c48.zip |
whereis: remove unused value warning
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'misc-utils/whereis.c')
-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 9f74963ab..925cc9390 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; |