2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>

* bin2boot.c: Fix uninitialized variable warning.
This commit is contained in:
Joel Sherrill
2008-08-19 19:33:55 +00:00
parent af063f6c01
commit fe801630f8
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* bin2boot.c: Fix uninitialized variable warning.
2008-07-29 Chris Johns <chrisj@rtems.org> 2008-07-29 Chris Johns <chrisj@rtems.org>
* configure.ac: Add CFLAGS to workaround building errors on * configure.ac: Add CFLAGS to workaround building errors on

View File

@@ -41,6 +41,9 @@ int main(int argc, char* argv[])
int size1, size2, len1, len2, len, imageCnt, cnt; int size1, size2, len1, len2, len, imageCnt, cnt;
char *ofile, *ifile, *end; char *ofile, *ifile, *end;
len2 = 0; /* avoid warning */
size2 = 0; /* avoid warning */
addr2 = 0; /* avoid warning */
verbose = 0; verbose = 0;
/* parse command line options */ /* parse command line options */