Skip to content

issue-1816: remove unused variable causing build failure #1937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ namespace Aws
AWS_LOGSTREAM_TRACE(CLASS_TAG, "Audio retrieved from Polly. " << result.GetContentType() << " with "
<< result.GetRequestCharacters() << " characters syntesized");

std::streamsize amountRead(0);
unsigned char buffer[BUFF_SIZE];

std::lock_guard<std::mutex> m(m_driverLock);
Expand All @@ -165,7 +164,6 @@ namespace Aws
AWS_LOGSTREAM_TRACE(CLASS_TAG, "Writing " << read << " bytes to device.");

successfullyPlayed = m_activeDriver->WriteBufferToDevice(buffer, (std::size_t)read);
amountRead += read;
played = successfullyPlayed;
}

Expand Down