summaryrefslogtreecommitdiff
path: root/components/drivers/rtc
diff options
context:
space:
mode:
authorYang sheng <[email protected]>2022-04-09 00:39:00 +0800
committerGitHub <[email protected]>2022-04-09 00:39:00 +0800
commiteb2fc60207fc86229460fe1ec066134751014871 (patch)
tree4ad7aa0154d88ac2ad17eb8cdc68bd6d4688263c /components/drivers/rtc
parent084bb1c95626f7ab14984a7fde0e56a3290659c4 (diff)
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo. * [RTC] Fix compile errors
Diffstat (limited to 'components/drivers/rtc')
-rw-r--r--components/drivers/rtc/alarm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/drivers/rtc/alarm.c b/components/drivers/rtc/alarm.c
index e56bf591c2..f6c536d354 100644
--- a/components/drivers/rtc/alarm.c
+++ b/components/drivers/rtc/alarm.c
@@ -748,7 +748,6 @@ void rt_alarm_dump(void)
{
rt_list_t *next;
rt_alarm_t alarm;
- rt_uint8_t index = 0;
rt_kprintf("| hh:mm:ss | week | flag | en |\n");
rt_kprintf("+----------+------+------+----+\n");