2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
* normal/dyncmd.c (read_command_list): Replace `0' with `NULL'. * normal/handler.c (read_handler_list): Likewise.
This commit is contained in:
parent
ac451143b2
commit
34f4a5b005
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
|
* normal/dyncmd.c (read_command_list): Replace `0' with `NULL'.
|
||||||
|
* normal/handler.c (read_handler_list): Likewise.
|
||||||
|
|
||||||
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
|
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
Misc cleanup.
|
Misc cleanup.
|
||||||
|
|
|
@ -83,7 +83,7 @@ read_command_list (void)
|
||||||
file = grub_file_open (filename);
|
file = grub_file_open (filename);
|
||||||
if (file)
|
if (file)
|
||||||
{
|
{
|
||||||
char *buf = 0;
|
char *buf = NULL;
|
||||||
for (;; grub_free (buf))
|
for (;; grub_free (buf))
|
||||||
{
|
{
|
||||||
char *p, *name, *modname;
|
char *p, *name, *modname;
|
||||||
|
|
|
@ -181,7 +181,7 @@ read_handler_list (void)
|
||||||
file = grub_file_open (filename);
|
file = grub_file_open (filename);
|
||||||
if (file)
|
if (file)
|
||||||
{
|
{
|
||||||
char *buf = 0;
|
char *buf = NULL;
|
||||||
for (;; grub_free (buf))
|
for (;; grub_free (buf))
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
|
|
Loading…
Reference in a new issue