From e7133acbdba0cc8bfa5b0bc3c40a993384daab6b Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Mon, 24 Oct 2022 19:44:24 -0700 Subject: [PATCH] Remove orphaned variable. Remove unused `buflen`s. --- net/auth/pnAuthClient.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/auth/pnAuthClient.cpp b/net/auth/pnAuthClient.cpp index 372c50e4..92ab7df8 100644 --- a/net/auth/pnAuthClient.cpp +++ b/net/auth/pnAuthClient.cpp @@ -248,7 +248,6 @@ bool pnAuthClient::Dispatch::dispatch(pnSocket* sock) size_t scoreCount = msgbuf[2].fUint; pnNetGameScore* scores = new pnNetGameScore[scoreCount]; const uint8_t* buf = msgbuf[4].fData; - size_t bufLen = msgbuf[3].fUint; for (size_t i=0; i(buf); scores[i].fOwnerId = NCReadBuffer(buf); @@ -321,7 +320,6 @@ bool pnAuthClient::Dispatch::dispatch(pnSocket* sock) size_t scoreCount = msgbuf[2].fUint; pnNetGameScore* scores = new pnNetGameScore[scoreCount]; const uint8_t* buf = msgbuf[4].fData; - size_t bufLen = msgbuf[3].fUint; for (size_t i=0; i(buf); scores[i].fOwnerId = NCReadBuffer(buf);