Skip to content

Commit

Permalink
Update builtins.c
Browse files Browse the repository at this point in the history
  • Loading branch information
yaya2007 committed Jun 23, 2023
1 parent 3090095 commit f7219af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stage2/builtins.c
Expand Up @@ -5851,6 +5851,7 @@ find_func (char *arg, int flags)
//char *in_drives = NULL; /* search in drive list */
// char root_found[16];
errnum = 0;
int i = 0;
#ifdef FSYS_FB
if (saved_drive == FB_DRIVE && !(unsigned char)(fb_status >> 8))
{
Expand Down Expand Up @@ -5883,7 +5884,6 @@ find_func (char *arg, int flags)
}
else if (grub_memcmp(arg, "--devices=", 10) == 0)
{
int i = 0;
arg += 10;
while (i < 7 && *arg >= 'a')
{
Expand Down Expand Up @@ -6011,7 +6011,6 @@ find_func (char *arg, int flags)
else
continue;
#endif
int i;
for (drive = 0xa0; drive <= 0xff; drive++)
{
for (i = 0; i < DRIVE_MAP_SIZE; i++)
Expand Down

0 comments on commit f7219af

Please sign in to comment.