From be2865833cd6ea9166f099fc03544cbc73d64a4b Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 17 Apr 2024 12:28:20 +0530 Subject: npass/ls: make sure ret is initialized --- src/npass/npass.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/npass/npass.c b/src/npass/npass.c index 60fe01c..d42fc10 100644 --- a/src/npass/npass.c +++ b/src/npass/npass.c @@ -118,6 +118,7 @@ static int ls(const char *path, size_t depth) ls(new_path, depth + 1); } else { + ret = 0; printf("%s %s\n", prefix, stor[i].name); } } -- cgit v1.2.3