mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 12:35:23 +00:00
Fix some warnings - values written to variables never read
This commit is contained in:
parent
d56113c91c
commit
170b3e3e44
2
deps/dr/dr_flac.h
vendored
2
deps/dr/dr_flac.h
vendored
@ -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;
|
||||
}
|
||||
|
2
deps/rcheevos/src/rhash/hash.c
vendored
2
deps/rcheevos/src/rhash/hash.c
vendored
@ -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 */
|
||||
|
3
deps/stb/stb_truetype.h
vendored
3
deps/stb/stb_truetype.h
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user