From: Matthew Fernandez Date: Sat, 19 Mar 2022 20:13:17 +0000 (-0700) Subject: pathcanon: remove unused 'loop' variable X-Git-Tag: 4.0.0~165^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bca6f01152e500b385d453d794851e112bc4d9b8;p=graphviz pathcanon: remove unused 'loop' variable --- 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++;