Eliminate unnecessary, trailing else conditional blocks.

This commit is contained in:
John Hood
2016-11-07 00:43:33 -05:00
parent 43785eb820
commit b1a6f7c144
7 changed files with 38 additions and 50 deletions
+1 -2
View File
@@ -46,9 +46,8 @@ int swrite( int fd, const char *str, ssize_t len )
if ( bytes_written <= 0 ) {
perror( "write" );
return -1;
} else {
total_bytes_written += bytes_written;
}
total_bytes_written += bytes_written;
}
return 0;