Module Name:    src
Committed By:   christos
Date:           Thu May  4 17:17:28 UTC 2017

Modified Files:
        src/sys/external/bsd/acpica/dist/compiler: asltree.c

Log Message:
Arrays can't be NULL


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/acpica/dist/compiler/asltree.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/acpica/dist/compiler/asltree.c
diff -u src/sys/external/bsd/acpica/dist/compiler/asltree.c:1.9 src/sys/external/bsd/acpica/dist/compiler/asltree.c:1.10
--- src/sys/external/bsd/acpica/dist/compiler/asltree.c:1.9	Sun Apr 30 19:13:36 2017
+++ src/sys/external/bsd/acpica/dist/compiler/asltree.c	Thu May  4 13:17:28 2017
@@ -187,18 +187,15 @@ TrAllocateNode (
         }
 
         Gbl_CommentState.Latest_Parse_Node = Op;
-        if (Gbl_CommentState.Latest_Parse_Node->Asl.ParseOpName)
-        {
-            CvDbgPrint ("trallocatenode=Set latest parse node to this node.\n");
-            CvDbgPrint ("           Op->Asl.ParseOpName = %s\n",
-                Gbl_CommentState.Latest_Parse_Node->Asl.ParseOpName);
-            CvDbgPrint ("           Op->Asl.ParseOpcode = 0x%x\n", ParseOpcode);
-
-            if (Op->Asl.FileChanged)
-            {
-                CvDbgPrint("    file has been changed!\n");
-            }
-        }
+	CvDbgPrint ("trallocatenode=Set latest parse node to this node.\n");
+	CvDbgPrint ("           Op->Asl.ParseOpName = %s\n",
+	    Gbl_CommentState.Latest_Parse_Node->Asl.ParseOpName);
+	CvDbgPrint ("           Op->Asl.ParseOpcode = 0x%x\n", ParseOpcode);
+
+	if (Op->Asl.FileChanged)
+	{
+	    CvDbgPrint("    file has been changed!\n");
+	}
 
         /*
          * if this parse op's syntax uses () and {} (i.e. Package(1){0x00}) then

Reply via email to