mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
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:
1 parent
ac451143b2
commit
34f4a5b005
3 files changed
+7
-2
No files matched your search
@@ -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.
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user