From ec9498c691b94b9366bea1e94e282a4360f05a53 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 4 Aug 2017 12:06:37 +0200 Subject: [PATCH 173/325] kern_fcntl(): Unconditionally init tmp Obtained from: ElectroBSD --- sys/kern/kern_descrip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 6e97a1e8e2f5..5dc65d2d7723 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -494,7 +494,7 @@ kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg) uint64_t bsize; off_t foffset; - error = 0; + tmp = error = 0; flg = F_POSIX; p = td->td_proc; fdp = p->p_fd; -- 2.32.0