Fix some warnings - values written to variables never read

pull/12017/head
twinaphex 2021-02-10 00:49:41 +01:00
parent d56113c91c
commit 170b3e3e44
3 changed files with 1 additions and 6 deletions

2
deps/dr/dr_flac.h vendored
View File

@ -5063,7 +5063,6 @@ drflac_uint64 drflac_read_s32(drflac* pFlac, drflac_uint64 samplesToRead, drflac
alignedSamplesRead = alignedSampleCountPerChannel * channelCount;
samplesRead += alignedSamplesRead;
samplesReadFromFrameSoFar += alignedSamplesRead;
bufferOut += alignedSamplesRead;
samplesToRead -= alignedSamplesRead;
pFlac->currentFrame.samplesRemaining -= (unsigned int)alignedSamplesRead;
@ -5078,7 +5077,6 @@ drflac_uint64 drflac_read_s32(drflac* pFlac, drflac_uint64 samplesToRead, drflac
}
samplesRead += excessSamplesRead;
samplesReadFromFrameSoFar += excessSamplesRead;
bufferOut += excessSamplesRead;
samplesToRead -= excessSamplesRead;
}

View File

@ -1217,7 +1217,7 @@ static const char* rc_hash_get_first_item_from_playlist(const char* path)
rc_file_close(file_handle);
ptr = start = buffer;
ptr = buffer;
do
{
/* ignore empty and commented lines */

View File

@ -1985,11 +1985,8 @@ static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill,
t = x_bottom;
x_bottom = x_top;
x_top = t;
dx = -dx;
dy = -dy;
t = x0;
x0 = xb;
xb = t;
}
x1 = (int) x_top;