diff --git a/ChangeLog b/ChangeLog index 2d2ee21ae..c66fcb482 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-22 Vladimir Serbinenko + + * grub-core/commands/acpihalt.c (get_sleep_type): + Remove unused variable. + 2012-02-22 Vladimir Serbinenko * include/grub/acpi.h (GRUB_ASCII_OPCODE): Add diff --git a/grub-core/commands/acpihalt.c b/grub-core/commands/acpihalt.c index 66972d99b..b9092cc10 100644 --- a/grub-core/commands/acpihalt.c +++ b/grub-core/commands/acpihalt.c @@ -193,7 +193,6 @@ get_sleep_type (grub_uint8_t *table, grub_uint8_t *end) case GRUB_ACPI_OPCODE_CREATE_WORD_FIELD: case GRUB_ACPI_OPCODE_CREATE_BYTE_FIELD: { - int ll; ptr += 5; ptr += add = skip_data_ref_object (ptr, end); if (!add)