summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-02 10:39:49 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-02 20:00:09 +0200
commitf988c1b1cc57b53895b60f47aaa7c5b178f31796 (patch)
treedd2879708dda82cb1f379faccd46166d80da50fa
parenta93b8fb12792930d14a51eee78261913142431c8 (diff)
downloadgnutls-f988c1b1cc57b53895b60f47aaa7c5b178f31796.tar.gz
removed unused code
-rw-r--r--lib/gnutls_buffers.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c
index e03af4858b..cc645c9a2a 100644
--- a/lib/gnutls_buffers.c
+++ b/lib/gnutls_buffers.c
@@ -460,12 +460,6 @@ _gnutls_io_read_buffered (gnutls_session_t session, size_t total,
return GNUTLS_E_INVALID_REQUEST;
}
- if (ret < 0)
- {
- gnutls_assert ();
- return ret;
- }
-
/* READ DATA
*/
if (readsize > 0)