From 3c6e035e1acad7d1b6faef67c809fa41efc49c48 Mon Sep 17 00:00:00 2001 From: Francesco Cosoleto Date: Tue, 8 Nov 2011 23:14:54 +0100 Subject: whereis: remove unused value warning Signed-off-by: Francesco Cosoleto --- misc-utils/whereis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3