From 1b30573197f7882b018073af2927e13c0df60d3f Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Mon, 8 Aug 2022 08:50:39 +0300 Subject: [PATCH] [core] Remove unused variable --- srtcore/crypto.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/srtcore/crypto.cpp b/srtcore/crypto.cpp index 1cb823faf..cf691b90b 100644 --- a/srtcore/crypto.cpp +++ b/srtcore/crypto.cpp @@ -125,8 +125,6 @@ int srt::CCryptoControl::processSrtMsg_KMREQ( HtoNLA((pw_srtdata_out), srtdata, w_srtlen); unsigned char* kmdata = reinterpret_cast(pw_srtdata_out); - std::vector kmcopy(kmdata, kmdata + bytelen); - // The side that has received KMREQ is always an HSD_RESPONDER, regardless of // what has called this function. The HSv5 handshake only enforces bidirectional // connection.