diff --git a/src/kits/network/libnetapi/SecureSocket.cpp b/src/kits/network/libnetapi/SecureSocket.cpp index df13a47f8b..c2c3dc7618 100644 --- a/src/kits/network/libnetapi/SecureSocket.cpp +++ b/src/kits/network/libnetapi/SecureSocket.cpp @@ -546,7 +546,6 @@ BSecureSocket::Read(void* buffer, size_t size) return B_ERROR; int bytesRead; - int error; int retry; do { bytesRead = SSL_read(fPrivate->fSSL, buffer, size);