aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-28 13:53:28 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-02-28 14:11:19 +0100
commit944e10700c98f8ac71c2385fd96671167463fcf0 (patch)
tree92f215b977ee049b757b02cc8b398de644197222 /socket.c
parente2baa1aa1cc0ec28d716228f150d29c632e57ade (diff)
downloadfetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.tar.gz
fetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.tar.bz2
fetchmail-944e10700c98f8ac71c2385fd96671167463fcf0.zip
Remove unused assignments/initializations found with llvm-clang.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket.c b/socket.c
index c245b3d4..adc4f585 100644
--- a/socket.c
+++ b/socket.c
@@ -462,7 +462,7 @@ int SockRead(int sock, char *buf, int len)
/* SSL_peek says no data... Does he mean no data
or did the connection blow up? If we got an error
then bail! */
- if( 0 != ( n = SSL_get_error(ssl, n) ) ) {
+ if (0 != SSL_get_error(ssl, n)) {
return -1;
}
/* We didn't get an error so read at least one
@@ -542,7 +542,7 @@ int SockPeek(int sock)
/* SSL_peek says 0... Does that mean no data
or did the connection blow up? If we got an error
then bail! */
- if( 0 != ( n = SSL_get_error(ssl, n) ) ) {
+ if(0 != SSL_get_error(ssl, n)) {
return -1;
}