Pacify gcc-3.1+, initialize two variables to avoid -Wuninitialized

warnings.
This commit is contained in:
peter 2002-03-19 10:57:40 +00:00
parent 4319b6e738
commit a0b32e92d6

View File

@ -815,8 +815,8 @@ semop(td, uap)
u_int nsops = uap->nsops;
struct sembuf *sops = NULL;
register struct semid_ds *semaptr;
register struct sembuf *sopptr;
register struct sem *semptr;
register struct sembuf *sopptr = 0;
register struct sem *semptr = 0;
struct sem_undo *suptr;
int i, j, error;
int do_wakeup, do_undos;