summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-06-11 12:08:18 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-06-12 13:01:17 +0000
commit03968481e0bf9e6ad2b657bb82f23f3cf0e02135 (patch)
treed11cb2b39b3b4bb98ef601094e34aa60435e7bce /lib
parent0b9861967c1377d9fbf600b4175b9d8c1aaa3266 (diff)
downloadgnutls-03968481e0bf9e6ad2b657bb82f23f3cf0e02135.tar.gz
buffers: remove redundant assignment
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/buffers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/buffers.c b/lib/buffers.c
index e845247772..1ea55e33c4 100644
--- a/lib/buffers.c
+++ b/lib/buffers.c
@@ -920,7 +920,6 @@ parse_handshake_header(gnutls_session_t session, mbuffer_st * bufel,
* that the packet has enough data.
*/
hsk->length = _gnutls_read_uint24(&dataptr[1]);
- handshake_header_size = HANDSHAKE_HEADER_SIZE(session);
if (IS_DTLS(session)) {
hsk->sequence = _gnutls_read_uint16(&dataptr[4]);