diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-14 10:37:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-14 10:37:59 +0000 |
commit | a7162cd6abe395805da2514f42bca4d6e1ebe610 (patch) | |
tree | b30ff72fb6cfaf25232a717aa63a4a094d507fba /sbin/fsck | |
parent | 00c3d07c61eb41cfb5ef7afd46e0be87511ed671 (diff) |
some -Wall
Diffstat (limited to 'sbin/fsck')
-rw-r--r-- | sbin/fsck/preen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c index abcb2eb4b5f..e247acaf78f 100644 --- a/sbin/fsck/preen.c +++ b/sbin/fsck/preen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: preen.c,v 1.3 1996/10/20 08:36:27 tholo Exp $ */ +/* $OpenBSD: preen.c,v 1.4 1997/09/14 10:37:42 deraadt Exp $ */ /* $NetBSD: preen.c,v 1.15 1996/09/28 19:21:42 christos Exp $ */ /* @@ -252,7 +252,7 @@ finddisk(name) const char *name; { const char *p; - size_t len; + size_t len = 0; struct diskentry *d; for (p = name + strlen(name) - 1; p >= name; --p) |