* grub-core/commands/acpihalt.c (get_sleep_type):

Remove unused variable.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-22 16:25:35 +01:00
parent 463dcadca3
commit 4b59234df8
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/acpihalt.c (get_sleep_type):
Remove unused variable.
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/acpi.h (GRUB_ASCII_OPCODE): Add * include/grub/acpi.h (GRUB_ASCII_OPCODE): Add

View file

@ -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_WORD_FIELD:
case GRUB_ACPI_OPCODE_CREATE_BYTE_FIELD: case GRUB_ACPI_OPCODE_CREATE_BYTE_FIELD:
{ {
int ll;
ptr += 5; ptr += 5;
ptr += add = skip_data_ref_object (ptr, end); ptr += add = skip_data_ref_object (ptr, end);
if (!add) if (!add)