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:
Abdelatif Guettouche 2022-06-15 11:39:41 +02:00 committed by Xiang Xiao
parent 5683e020e8
commit 0aa14f91da

View File

@ -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 */