Merge pull request #464 from LinkiTools/pmatos-cisco-gcc910

Initialize n to 0
original commit: e8b8ecfc58833d082e7151fc4ddf38b37507968a
This commit is contained in:
R. Kent Dybvig 2019-09-26 07:36:18 -07:00 committed by GitHub
commit cc6dfb3c4f
2 changed files with 4 additions and 1 deletions

2
LOG
View File

@ -1759,3 +1759,5 @@
- used with-object-file to restore accidentally dropped close-port in - used with-object-file to restore accidentally dropped close-port in
compile-whole-program and compile-whole-library compile-whole-program and compile-whole-library
compile.ss compile.ss
- initialized variable to enable compilation with 9.1.0 at -O3
c/scheme.c

View File

@ -572,7 +572,8 @@ static void check_boot_file_state PROTO((const char *who));
static IBOOL find_boot(name, ext, fd, errorp) const char *name, *ext; int fd; IBOOL errorp; { static IBOOL find_boot(name, ext, fd, errorp) const char *name, *ext; int fd; IBOOL errorp; {
char pathbuf[PATH_MAX], buf[PATH_MAX]; char pathbuf[PATH_MAX], buf[PATH_MAX];
uptr n; INT c; uptr n = 0;
INT c;
const char *path; const char *path;
#ifdef WIN32 #ifdef WIN32
wchar_t *expandedpath; wchar_t *expandedpath;