summaryrefslogtreecommitdiff
path: root/src/pathchk.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-05-13 13:57:20 +0000
committerJim Meyering <jim@meyering.net>1994-05-13 13:57:20 +0000
commit323e95c8b38b10f06c3e44394abca87a84e03d28 (patch)
tree7555e23bf3ee1339764bb12aa7b11e8c32cc932b /src/pathchk.c
parentaf6e86c53709b2823d46903f5c8d1e56e5bd714c (diff)
downloadcoreutils-323e95c8b38b10f06c3e44394abca87a84e03d28.tar.xz
.
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 == '/' ? "/" : ".");