arch/xtensa/esp32_rtc_lowerhalf.c: nitialize ret variable to avoid
warnings. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
5683e020e8
commit
0aa14f91da
@ -538,7 +538,7 @@ struct rtc_lowerhalf_s *esp32_rtc_lowerhalf(void)
|
||||
|
||||
int esp32_rtc_driverinit(void)
|
||||
{
|
||||
int ret;
|
||||
int ret = ERROR;
|
||||
struct rtc_lowerhalf_s *lower;
|
||||
|
||||
/* Instantiate the ESP32 lower-half RTC driver */
|
||||
|
Loading…
Reference in New Issue
Block a user