Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ignore return value of write()

  • Loading branch information...
commit 3a048981c9c3c9ac51e0e771e199276a265f2439 1 parent c2084b2
@charliesome authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ptydo.c
View
2  ptydo.c
@@ -171,7 +171,7 @@ int main(int argc, char** argv)
perror("read");
exit_and_kill_child(EXIT_FAILURE);
}
- write(writefd, buff, bytes);
+ (void)write(writefd, buff, bytes);
}
return 0;
Please sign in to comment.
Something went wrong with that request. Please try again.