summaryrefslogtreecommitdiff
path: root/src/pathchk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathchk.c')
-rw-r--r--src/pathchk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index b509102ad..76a3401a4 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -274,6 +274,11 @@ validate_path (path, portability)
if (*path == '\0')
return 0;
+#ifdef lint
+ /* Suppress `used before initialized' warning. */
+ exists = 0;
+#endif
+
/* Figure out the parent of the first element in PATH. */
parent = xstrdup (*path == '/' ? "/" : ".");