* grub-core/commands/lsmmap.c: Fix unused variable on emu.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-01-21 14:57:35 +01:00
parent 822b726b33
commit ccd86b215f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-01-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/lsmmap.c: Fix unused variable on emu.
2013-01-21 Vladimir Serbinenko <phcoder@gmail.com>
Improve spkmomdem reliability by adding a separator between bytes.

View File

@ -25,6 +25,7 @@
GRUB_MOD_LICENSE ("GPLv3+");
#ifndef GRUB_MACHINE_EMU
static const char *names[] =
{
[GRUB_MEMORY_AVAILABLE] = N_("available RAM"),
@ -40,7 +41,6 @@ static const char *names[] =
[GRUB_MEMORY_HOLE] = N_("Address range not associated with RAM")
};
#ifndef GRUB_MACHINE_EMU
/* Helper for grub_cmd_lsmmap. */
static int
lsmmap_hook (grub_uint64_t addr, grub_uint64_t size, grub_memory_type_t type,