diff mbox

/drivers/acpi/acpica/nsrepair.c (2.6.35.7) - Fixed useless compile warning

Message ID 593258.59408.qm@web45801.mail.sp1.yahoo.com (mailing list archive)
State New, archived
Headers show

Commit Message

Poyo VL Sept. 20, 2010, 5:51 a.m. UTC
None
diff mbox

Patch

--- a/drivers/acpi/acpica/nsrepair.c    2010-09-20 08:35:56.568006487 +0300
+++ b/drivers/acpi/acpica/nsrepair.c    2010-09-20 08:00:40.000000000 +0300
@@ -122,7 +122,7 @@  acpi_ns_repair_object(struct acpi_predef
               union acpi_operand_object **return_object_ptr)
 {
     union acpi_operand_object *return_object = *return_object_ptr;
-    union acpi_operand_object *new_object;
+    union acpi_operand_object *new_object = NULL;
     acpi_status status;
 
     ACPI_FUNCTION_NAME(ns_repair_object);