From a6cf47015c0f46d7eee4f2248c3b0351a23860d1 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 14 Oct 2009 22:04:46 +0000 Subject: [PATCH] - initialization fix in write() Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@514 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/bsp/examples/libsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CPUs/MIPS/bsp/examples/libsys.c b/lib/CPUs/MIPS/bsp/examples/libsys.c index f29287f..baaebd9 100644 --- a/lib/CPUs/MIPS/bsp/examples/libsys.c +++ b/lib/CPUs/MIPS/bsp/examples/libsys.c @@ -439,7 +439,7 @@ int read(int file, char *ptr, int len) int write(int file, char *ptr, int len) { - int i; + int i = 0; if (file == 1) {