aboutsummaryrefslogtreecommitdiffstats
path: root/bfind.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 16:15:47 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 16:15:47 +0200
commit1590e7b0dc7e9848e060b7228a27d5309334d712 (patch)
tree00dde57f0be3755531abedec86dba2c47a923a01 /bfind.c
parentChange license, rewrite in C, remove info manual, remove shell tab completion, misc (diff)
downloadbfind-3.0.1.tar.gz
bfind-3.0.1.tar.bz2
bfind-3.0.1.tar.xz
Improve makefile and silence false warning3.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--bfind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfind.c b/bfind.c
index 323ee73..7ca2001 100644
--- a/bfind.c
+++ b/bfind.c
@@ -217,7 +217,7 @@ main(int argc, char *argv[])
{
char ending = '\n', *path;
struct stat st;
- dev_t start_dev;
+ dev_t start_dev = 0; /* compiler incorrectly thinks its may be uninitialised if not assigned */
size_t i;
ARGBEGIN {