diff options
author | Thomas Jarosch <tomj@simonv.com> | 2015-01-13 21:40:19 +0100 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2015-01-13 21:40:19 +0100 |
commit | 1212edd352e924111bb3db6330755b33f13fbe71 (patch) | |
tree | f399abf9b83b33ac4046cfdc3f74ac2d74a95f71 /utils/hwstub/stub/rk27xx | |
parent | a71603b4d17b1f7da06c77176a795a7464dc859a (diff) | |
download | rockbox-1212edd352e924111bb3db6330755b33f13fbe71.tar.gz rockbox-1212edd352e924111bb3db6330755b33f13fbe71.zip |
Don't return pointer to array allocated on the stack
It will be out of scope once the function is left.
cppcheck reported:
[firmware/drivers/rtc/rtc_zenvisionm.c:31]: (error) Pointer to local array variable returned.
[firmware/drivers/rtc/rtc_zenvisionm.c:38]: (error) Pointer to local array variable returned.
Change-Id: Ibf28ba9b3d20cadcaff22398e143488c86746660
Diffstat (limited to 'utils/hwstub/stub/rk27xx')
0 files changed, 0 insertions, 0 deletions