]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: this should remove a Coverity Scan warning.
authoriceman1001 <iceman@iuse.se>
Sun, 24 Apr 2016 19:42:42 +0000 (21:42 +0200)
committericeman1001 <iceman@iuse.se>
Sun, 24 Apr 2016 19:42:42 +0000 (21:42 +0200)
client/uart.c

index 71cea1109d1e27ef191d871d8cde07f802eed36f..5aefcf762dd7f299f8c2f3a0335794db927958fb 100644 (file)
@@ -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);
 }
Impressum, Datenschutz