2005-11-22 Hollis Blanchard <hollis@penguinppc.org>
* term/tparm.c (get_space): Remove empty `if' statement. * fs/ufs.c (grub_ufs_find_file): Remove `grub_le_to_cpu32'. * kern/parser.c (check_varstate): Rename `state' to 's'.
This commit is contained in:
parent
aeaf81d9a3
commit
9c12956b84
4 changed files with 16 additions and 10 deletions
|
@ -164,9 +164,7 @@ get_space(grub_size_t need)
|
|||
if (need > out_size) {
|
||||
out_size = need * 2;
|
||||
out_buff = grub_realloc(out_buff, out_size*sizeof(char));
|
||||
if (out_buff == 0)
|
||||
// FIX ME! OOM, what now?
|
||||
;
|
||||
/* FIX ME! handle out_buff == 0. */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue