From bca6f01152e500b385d453d794851e112bc4d9b8 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 19 Mar 2022 13:13:17 -0700 Subject: [PATCH] pathcanon: remove unused 'loop' variable --- lib/ast/pathcanon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ast/pathcanon.c b/lib/ast/pathcanon.c index 2ce6c7210..bbe5eb118 100644 --- a/lib/ast/pathcanon.c +++ b/lib/ast/pathcanon.c @@ -28,9 +28,8 @@ char *pathcanon(char *path) { char *s; char *t; int dots; - int loop; - dots = loop = 0; + dots = 0; if (*path == '/' && *(path + 1) == '/') do path++; -- 2.40.0