public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] env_sf: remove warning introduced with last patch
@ 2010-10-28 10:39 Stefano Babic
  2010-10-28 17:47 ` Mike Frysinger
  2010-10-29  9:49 ` [U-Boot] [PATCH V2] " Stefano Babic
  0 siblings, 2 replies; 5+ messages in thread
From: Stefano Babic @ 2010-10-28 10:39 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Stefano Babic <sbabic@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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-29 21:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-28 10:39 [U-Boot] [PATCH] env_sf: remove warning introduced with last patch Stefano Babic
2010-10-28 17:47 ` Mike Frysinger
2010-10-29  9:14   ` Stefano Babic
2010-10-29  9:49 ` [U-Boot] [PATCH V2] " Stefano Babic
2010-10-29 21:08   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox