fix warning allegedly reported on i386
This commit is contained in:
parent
6c98e1bae7
commit
b6019bb35a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: opendir.c,v 1.1 1999/05/19 03:53:03 gwr Exp $ */
|
||||
/* $NetBSD: opendir.c,v 1.2 1999/05/23 22:08:17 gwr Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
@ -54,7 +54,6 @@ opendir(name)
|
||||
DIR *dirp;
|
||||
int fd;
|
||||
struct stat sb;
|
||||
int pagesz;
|
||||
|
||||
if ((fd = open(name, O_RDONLY | O_NONBLOCK)) == -1)
|
||||
return (NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user