1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/drivers/rtc
Thomas Jarosch 1212edd352 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
2015-01-13 21:40:19 +01:00
..
rtc_as3514.c as3514 rtc: sansa clip zip uses 1970/1/1 base date instead of special AS3525v2 date 2012-04-17 21:33:59 +02:00
rtc_d2.c cowond2's power-target.h -> rename in pmu-target.h 2012-01-07 22:39:14 +00:00
rtc_ds1339_ds3231.c
rtc_e8564.c Various minor fixes for Samsung YH* targets 2010-08-08 09:02:41 +00:00
rtc_imx233.c sonynwz: fix time handling 2013-09-26 17:01:44 +02:00
rtc_jz4740.c
rtc_m41st84w.c
rtc_mc13783.c mc13783 RTC: Handle years in a better way for the use of struct tm. Make the code less general because all years evenly divisible by 4 in the day range are leap years. 2010-12-24 17:06:35 +00:00
rtc_mr100.c
rtc_pcf50605.c
rtc_pcf50606.c
rtc_rx5x348ab.c
rtc_s3c2440.c fix typo in r26245 (I guess not many people use rtc_alarm with gigabeat f) 2010-06-06 17:37:13 +00:00
rtc_s35380a.c RTC s35380a - remove unneeded header files includes 2010-12-08 22:15:52 +00:00
rtc_s35390a.c
rtc_tcc77x.c tcc77x targets: various minor cleanups 2010-08-28 10:17:19 +00:00
rtc_zenvisionm.c Don't return pointer to array allocated on the stack 2015-01-13 21:40:19 +01:00