Don't initialize error in declaration.

MFC after:	3 weeks
This commit is contained in:
Dmitry Chagin 2017-07-08 21:15:46 +00:00
parent 18a9ea872a
commit 46d186a9b4

View File

@ -152,7 +152,7 @@ fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, struct mount *mp,
struct fdescnode *fd, *fd2;
struct vnode *vp, *vp2;
struct thread *td;
int error = 0;
int error;
td = curthread;
fc = FD_NHASH(ix);