Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/acpica/dist/compiler Arrays can't be NULL
details: https://anonhg.NetBSD.org/src/rev/3cf63f49dbce
branches: trunk
changeset: 353419:3cf63f49dbce
user: christos <christos%NetBSD.org@localhost>
date: Thu May 04 17:17:28 2017 +0000
description:
Arrays can't be NULL
diffstat:
sys/external/bsd/acpica/dist/compiler/asltree.c | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diffs (30 lines):
diff -r 75cce14f4740 -r 3cf63f49dbce sys/external/bsd/acpica/dist/compiler/asltree.c
--- a/sys/external/bsd/acpica/dist/compiler/asltree.c Thu May 04 16:26:09 2017 +0000
+++ b/sys/external/bsd/acpica/dist/compiler/asltree.c Thu May 04 17:17:28 2017 +0000
@@ -187,18 +187,15 @@
}
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);
+ 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 (Op->Asl.FileChanged)
+ {
+ CvDbgPrint(" file has been changed!\n");
+ }
/*
* if this parse op's syntax uses () and {} (i.e. Package(1){0x00}) then
Home |
Main Index |
Thread Index |
Old Index