From: batt Date: Mon, 7 Sep 2009 14:38:31 +0000 (+0000) Subject: Fix warning. X-Git-Tag: 2.2.0~81 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5198a5e6f13185d818d8724da25f8c38e95fd4f8;p=bertos.git Fix warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2887 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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--) {