1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Small tweaks to fix GCC 68k compiler warnings.

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14913 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-04-03 10:53:24 +00:00
parent 3096691d75
commit a18f415374
3 changed files with 6 additions and 20 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: uio_writev.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
* $Id: uio_writev.c,v 1.2 2005-04-03 10:53:24 obarthel Exp $
*
* :ts=4
*
@ -83,13 +83,6 @@ writev(int file_descriptor,const struct iovec *iov,int vec_count)
here than in the write loop. */
for(i = 0, total_num_bytes_written = 0 ; i < vec_count ; i++)
{
if(iov[i].iov_len < 0)
{
/* Paraoia... */
__set_errno(EINVAL);
goto out;
}
total_num_bytes_written += iov[i].iov_len;
if(total_num_bytes_written < 0) /* Rollover. */
{