mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
[COV] metadata module, fix uninit warnings #2
decrease size hit of initializing asf by using a union remove init from bytes LE conversion in metadata common -- bad idea for performance Change-Id: I4514adc125e5da2b99d9f913ba74afd5f1345822
This commit is contained in:
parent
2a88ec50cd
commit
01d2979bce
2 changed files with 12 additions and 10 deletions
|
|
@ -98,7 +98,7 @@ int read_uint32be(int fd, uint32_t* buf)
|
|||
int read_uint64be(int fd, uint64_t* buf)
|
||||
{
|
||||
size_t n;
|
||||
uint8_t data[8] = {0};
|
||||
uint8_t data[8];
|
||||
int i;
|
||||
|
||||
n = read(fd, data, 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue