From 5198a5e6f13185d818d8724da25f8c38e95fd4f8 Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 7 Sep 2009 14:38:31 +0000 Subject: [PATCH] Fix warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2887 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/drv/eeprom.c b/bertos/drv/eeprom.c index f9209148..01f483f2 100644 --- a/bertos/drv/eeprom.c +++ b/bertos/drv/eeprom.c @@ -177,7 +177,7 @@ static size_t eeprom_writeVerify(struct KFile *_fd, const void *_buf, size_t siz { Eeprom *fd = EEPROM_CAST(_fd); int retries = 5; - size_t wr_len; + size_t wr_len = 0; while (retries--) { -- 2.25.1