[U-Boot] [PATCH] env_sf: remove warning introduced with last patch
Stefano Babic
sbabic at denx.de
Thu Oct 28 12:39:51 CEST 2010
Signed-off-by: Stefano Babic <sbabic at denx.de>
---
common/env_sf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/env_sf.c b/common/env_sf.c
index a597b24..e5e0166 100644
--- a/common/env_sf.c
+++ b/common/env_sf.c
@@ -272,7 +272,7 @@ int saveenv(void)
u32 saved_size, saved_offset;
char *saved_buffer = NULL;
u32 sector = 1;
- int ret;
+ int ret = 1;
env_t env_new;
char *res;
ssize_t len;
--
1.7.1
More information about the U-Boot
mailing list