diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-04-17 12:28:20 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-04-17 12:30:59 +0530 |
commit | be2865833cd6ea9166f099fc03544cbc73d64a4b (patch) | |
tree | 535f0578a01fcee1e9154d5d36a0da97d97e75f5 /src | |
parent | 67d6f19ea0658cbe61d0f9855d0ed5dbec973684 (diff) |
npass/ls: make sure ret is initialized
Diffstat (limited to 'src')
-rw-r--r-- | src/npass/npass.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |