From: Francesco Cosoleto Date: Tue, 8 Nov 2011 22:14:54 +0000 (+0100) Subject: whereis: remove unused value warning X-Git-Tag: v2.21-rc1~207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c6e035e1acad7d1b6faef67c809fa41efc49c48;p=thirdparty%2Futil-linux.git whereis: remove unused value warning Signed-off-by: Francesco Cosoleto --- diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c index 9f74963abd..925cc93900 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;