The new compiler can't quite follow the logic of has_stime and

complains about using uninitialized tags in stime.
This commit is contained in:
Matt Jacob 2007-06-10 01:49:17 +00:00
parent 9b73d2396a
commit 26756b7a58

View File

@ -1720,7 +1720,7 @@ ttread(struct tty *tp, struct uio *uio, int flag)
int s, first, error = 0;
int has_stime = 0, last_cc = 0;
long slp = 0; /* XXX this should be renamed `timo'. */
struct timeval stime;
struct timeval stime = { 0, 0 };
struct pgrp *pg;
td = curthread;