diff options
author | Rafaël Carré <funman@videolan.org> | 2012-05-06 23:38:15 -0400 |
---|---|---|
committer | Rafaël Carré <funman@videolan.org> | 2012-05-06 23:38:15 -0400 |
commit | 5aadf87e9863dae8ea0858657a479b41a14516cc (patch) | |
tree | 9260c4377a06aefd3445cfd388c7dc64ef8d0e8a /firmware/target/arm/tcc77x/debug-tcc77x.c | |
parent | 06c8ab852b7be4b2788c7d3bfc41e1def3c09503 (diff) | |
download | rockbox-5aadf87e9863dae8ea0858657a479b41a14516cc.tar.gz rockbox-5aadf87e9863dae8ea0858657a479b41a14516cc.zip |
asap codec: remove invalid memset
This would zero the first 4 or 8 bytes of the array because it is declared as a pointer
rockbox/lib/rbcodec/codecs/libasap/asap.c:1229:44: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memset(ast -> memory, 0, sizeof(ast -> memory));
~~~~~~~~~~~~~ ~~~~~~~^~~~~~
Diffstat (limited to 'firmware/target/arm/tcc77x/debug-tcc77x.c')
0 files changed, 0 insertions, 0 deletions