aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2002-01-26 15:47:24 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2002-01-26 15:47:24 +0000
commitb81ba372c592567093042970f6930e9122b24118 (patch)
tree1fef2621cd8d336d26907113a9c154c97f1ea3c3 /sbin/fsdb
parent67a2e470229b2f43ae6abecb8b27ff4790526381 (diff)
downloadsrc-b81ba372c592567093042970f6930e9122b24118.tar.gz
src-b81ba372c592567093042970f6930e9122b24118.zip
Avoid pointless initialization of global variables to 0. This only
bloats the resulting binary file by forcing them out of .bss into .data, while the C standard already guarantees them to become initialized to 0 at program startup. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=89826
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c
index 9ba91aa13706..85e34f6c7484 100644
--- a/sbin/fsdb/fsdb.c
+++ b/sbin/fsdb/fsdb.c
@@ -59,8 +59,8 @@ usage()
exit(1);
}
-int returntosingle = 0;
-char nflag = 0;
+int returntosingle;
+char nflag;
/*
* We suck in lots of fsck code, and just pick & choose the stuff we want.