6fffb6bc625848c354f044f0f1faed45c84c8f7d
jcasper
  Wed Mar 18 23:01:31 2026 -0700
Removing unused variable, refs #36320

diff --git src/lib/osunix.c src/lib/osunix.c
index 621632465e5..acb4045456b 100644
--- src/lib/osunix.c
+++ src/lib/osunix.c
@@ -420,31 +420,30 @@
     *d++ = c;
     lastC = c;
     }
 *d = 0;
 }
 
 void eatExcessDotsInPath(char *path)
 /* Remove . and .. components from path in place using two pointers.
  * Single dots are removed, double dots consume the preceding component
  * unless it is also ".." or doesn't exist (relative path).
  * Assumes no // in input (call eatSlashSlashInPath first). */
 {
 char *src = path;
 char *dst = path;
 boolean absolute = (*src == '/');
-int pathLen = strlen(path);
 
 if (absolute)
     *dst++ = *src++;
 
 while (*src)
     {
     /* Find end of this component */
     char *compEnd = strchr(src, '/');
     int compLen;
     if (compEnd)
         compLen = compEnd - src;
     else
         compLen = strlen(src);
 
     if (compLen == 1 && src[0] == '.')