mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
CHG: this should remove a Coverity Scan warning.
This commit is contained in:
parent
c0afa86f75
commit
9965e0d1f8
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void uart_close(const serial_port sp) {
|
||||||
fl.l_start = 0;
|
fl.l_start = 0;
|
||||||
fl.l_len = 0;
|
fl.l_len = 0;
|
||||||
fl.l_pid = getpid();
|
fl.l_pid = getpid();
|
||||||
fcntl(spu->fd, F_SETLK, &fl);
|
int err = fcntl(spu->fd, F_SETLK, &fl);
|
||||||
close(spu->fd);
|
close(spu->fd);
|
||||||
free(sp);
|
free(sp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue