mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 09:12:05 -04:00
fix a "statement is unreachable" warning
This commit is contained in:
parent
7222f9f321
commit
7c3996209b
1 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: os.c,v 1.8 2001/01/09 21:58:26 bwelling Exp $ */
|
||||
/* $Id: os.c,v 1.9 2001/02/11 00:52:31 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -32,8 +32,9 @@ sysconf_ncpus(void) {
|
|||
return sysconf((_SC_NPROCESSORS_ONLN));
|
||||
#elif defined(_SC_NPROC_ONLN)
|
||||
return sysconf((_SC_NPROC_ONLN));
|
||||
#endif
|
||||
#else
|
||||
return (0);
|
||||
#endif
|
||||
|
||||
}
|
||||
#endif /* HAVE_SYSCONF */
|
||||
|
|
|
|||
Loading…
Reference in a new issue