Fix for scan-build "Value stored to 'err' is never read`"

This commit is contained in:
David Garske
2019-01-11 09:42:41 -08:00
parent 6eea924a5c
commit a4a6895900

View File

@ -749,7 +749,7 @@ static void ClientRead(WOLFSSL* ssl, char* reply, int replyLen, int mustRead)
elapsed = current_time(0) - start;
if (elapsed > MAX_NON_BLOCK_SEC) {
printf("Nonblocking read timeout\n");
err = WOLFSSL_FATAL_ERROR;
ret = WOLFSSL_FATAL_ERROR;
break;
}
}