fix clang analyzer warning

This commit is contained in:
toddouska 2014-09-12 11:14:23 -07:00
parent 7ed180a04b
commit f45ffe4a38

View File

@ -10404,6 +10404,7 @@ static void PickHashSigAlgo(CYASSL* ssl,
XMEMCPY(output + idx, ssl->buffers.serverDH_Pub.buffer, XMEMCPY(output + idx, ssl->buffers.serverDH_Pub.buffer,
ssl->buffers.serverDH_Pub.length); ssl->buffers.serverDH_Pub.length);
idx += ssl->buffers.serverDH_Pub.length; idx += ssl->buffers.serverDH_Pub.length;
(void)idx; /* suppress analyzer warning, and keep idx current */
ret = HashOutput(ssl, output, sendSz, 0); ret = HashOutput(ssl, output, sendSz, 0);