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:
Robert Millan 2009-11-09 14:50:20 +00:00
parent ac451143b2
commit 34f4a5b005
3 changed files with 7 additions and 2 deletions

View file

@ -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.

View file

@ -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;

View file

@ -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;