summaryrefslogtreecommitdiff
path: root/init/mesg.c
diff options
context:
space:
mode:
authorEric Andersen2004-08-27 19:55:28 +0000
committerEric Andersen2004-08-27 19:55:28 +0000
commit785001468dffa2d532b6efa5603622dd85d2bc74 (patch)
treea1e771f4116c05bd1b059cc52b78b4534ef1e3e9 /init/mesg.c
parent75813eea230ccf60ac8623ffb161c890c6f063c5 (diff)
downloadbusybox-785001468dffa2d532b6efa5603622dd85d2bc74.zip
busybox-785001468dffa2d532b6efa5603622dd85d2bc74.tar.gz
Quiet a few warnings
Diffstat (limited to 'init/mesg.c')
-rw-r--r--init/mesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/mesg.c b/init/mesg.c
index 7b8acf6..7fd9d24 100644
--- a/init/mesg.c
+++ b/init/mesg.c
@@ -32,7 +32,7 @@ extern int mesg_main(int argc, char *argv[])
{
struct stat sb;
char *tty;
- char c;
+ char c = 0;
if ((--argc == 0)
|| ((argc == 1) && (((c = **++argv) == 'y') || (c == 'n')))) {