From 9965e0d1f8f56637072093b06a4dab28f8de5df0 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 24 Apr 2016 21:42:42 +0200 Subject: [PATCH] CHG: this should remove a Coverity Scan warning. --- client/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/uart.c b/client/uart.c index 71cea110..5aefcf76 100644 --- a/client/uart.c +++ b/client/uart.c @@ -119,7 +119,7 @@ void uart_close(const serial_port sp) { fl.l_start = 0; fl.l_len = 0; fl.l_pid = getpid(); - fcntl(spu->fd, F_SETLK, &fl); + int err = fcntl(spu->fd, F_SETLK, &fl); close(spu->fd); free(sp); } -- 2.39.2