Avoid a compiler warning.
This commit is contained in:
parent
5031e2f10a
commit
53b61ccd14
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_signal.c,v 1.30 1998/10/04 16:21:13 christos Exp $ */
|
||||
/* $NetBSD: svr4_signal.c,v 1.31 1998/10/06 08:51:14 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -416,6 +416,12 @@ svr4_sys_sigprocmask(p, v, retval)
|
|||
int how;
|
||||
int error;
|
||||
|
||||
/*
|
||||
* Initialize how to 0 to avoid a compiler warning. Note that
|
||||
* this is safe because of the check in the default: case.
|
||||
*/
|
||||
how = 0;
|
||||
|
||||
switch (SCARG(uap, how)) {
|
||||
case SVR4_SIG_BLOCK:
|
||||
how = SIG_BLOCK;
|
||||
|
|
Loading…
Reference in New Issue