mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 00:29:23 +00:00
remove all trailing whitespace
This commit is contained in:
1 parent
d2d4966571
commit
b39f9d20a9
222 files changed
+3286
-3286
No files matched your search
@@ -181,7 +181,7 @@ fail:
|
||||
|
||||
static grub_err_t
|
||||
grub_cpio_dir (grub_device_t device, const char *path,
|
||||
int (*hook) (const char *filename,
|
||||
int (*hook) (const char *filename,
|
||||
const struct grub_dirhook_info *info))
|
||||
{
|
||||
struct grub_cpio_data *data;
|
||||
@@ -286,13 +286,13 @@ grub_cpio_open (grub_file_t file, const char *name)
|
||||
{
|
||||
if (name[i] != fn[j])
|
||||
goto no_match;
|
||||
|
||||
|
||||
if (name[i] == '\0')
|
||||
break;
|
||||
|
||||
|
||||
if (name[i] == '/' && name[i+1] == '/')
|
||||
i++;
|
||||
|
||||
|
||||
i++;
|
||||
j++;
|
||||
}
|
||||
@@ -304,7 +304,7 @@ grub_cpio_open (grub_file_t file, const char *name)
|
||||
return GRUB_ERR_NONE;
|
||||
|
||||
no_match:
|
||||
|
||||
|
||||
grub_free (fn);
|
||||
data->hofs = ofs;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user