2003-01-02 Yoshinori K. Okuji <okuji@enbug.org>
From Jeremy Katz: * stage2/fsys_ext2fs.c (ext2fs_dir): Initialize STR_CHK to shut up GCC. * stage2/fsys_minix.c (minix_dir): Likewise.
This commit is contained in:
parent
ee9202997b
commit
6ced081a2d
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2003-01-02 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
|
From Jeremy Katz:
|
||||||
|
* stage2/fsys_ext2fs.c (ext2fs_dir): Initialize STR_CHK to shut
|
||||||
|
up GCC.
|
||||||
|
* stage2/fsys_minix.c (minix_dir): Likewise.
|
||||||
|
|
||||||
2002-12-21 Yoshinori K. Okuji <okuji@enbug.org>
|
2002-12-21 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* stage2/asm.S (gateA20): First, try a BIOS call (INT 15H,
|
* stage2/asm.S (gateA20): First, try a BIOS call (INT 15H,
|
||||||
|
|
|
@ -491,7 +491,7 @@ ext2fs_dir (char *dirname)
|
||||||
int group_desc; /* fs pointer to that group */
|
int group_desc; /* fs pointer to that group */
|
||||||
int desc; /* index within that group */
|
int desc; /* index within that group */
|
||||||
int ino_blk; /* fs pointer of the inode's information */
|
int ino_blk; /* fs pointer of the inode's information */
|
||||||
int str_chk; /* used to hold the results of a string compare */
|
int str_chk = 0; /* used to hold the results of a string compare */
|
||||||
struct ext2_group_desc *gdp;
|
struct ext2_group_desc *gdp;
|
||||||
struct ext2_inode *raw_inode; /* inode info corresponding to current_ino */
|
struct ext2_inode *raw_inode; /* inode info corresponding to current_ino */
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* GRUB -- GRand Unified Bootloader
|
* GRUB -- GRand Unified Bootloader
|
||||||
* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
|
* Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -300,7 +300,7 @@ minix_dir (char *dirname)
|
||||||
int updir_ino = current_ino; /* the parent of the current directory */
|
int updir_ino = current_ino; /* the parent of the current directory */
|
||||||
int ino_blk; /* fs pointer of the inode's info */
|
int ino_blk; /* fs pointer of the inode's info */
|
||||||
|
|
||||||
int str_chk; /* used ot hold the results of a string
|
int str_chk = 0; /* used ot hold the results of a string
|
||||||
compare */
|
compare */
|
||||||
|
|
||||||
struct minix_inode * raw_inode; /* inode info for current_ino */
|
struct minix_inode * raw_inode; /* inode info for current_ino */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue