CHG: this should remove a Coverity Scan warning.
This commit is contained in:
1 parent
c0afa86f75
commit
9965e0d1f8
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user