summaryrefslogtreecommitdiff
path: root/drivers/openssl
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-07-06 19:04:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-07-07 23:15:59 +0200
commit3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33 (patch)
treea9ab363b5d34a3e314883618c6f34d5368ca79a8 /drivers/openssl
parentb6ac91c0e6416eda0dec226c5dbe5716f293e4f6 (diff)
Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
Diffstat (limited to 'drivers/openssl')
-rw-r--r--drivers/openssl/stream_peer_openssl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/openssl/stream_peer_openssl.cpp b/drivers/openssl/stream_peer_openssl.cpp
index 9349df3793..aa3d8a8f7f 100644
--- a/drivers/openssl/stream_peer_openssl.cpp
+++ b/drivers/openssl/stream_peer_openssl.cpp
@@ -469,7 +469,6 @@ Error StreamPeerOpenSSL::put_partial_data(const uint8_t* p_data,int p_bytes, int
if (p_bytes==0)
return OK;
- int s=0;
Error err = put_data(p_data,p_bytes);
if (err!=OK)
return err;