Module Name:    src
Committed By:   christos
Date:           Wed Aug 26 01:58:55 UTC 2015

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

Log Message:
CID 1298707:  Change confusing code that makes coverity think that Length
is uninitalized (we want length to be zero so instead of setting it to 0,
we check if it not zero and then we set it if it is not?!?!)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/acpica/dist/compiler/dttable.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/dttable.c
diff -u src/sys/external/bsd/acpica/dist/compiler/dttable.c:1.5 src/sys/external/bsd/acpica/dist/compiler/dttable.c:1.6
--- src/sys/external/bsd/acpica/dist/compiler/dttable.c:1.5	Tue Aug 18 06:39:46 2015
+++ src/sys/external/bsd/acpica/dist/compiler/dttable.c	Tue Aug 25 21:58:55 2015
@@ -3474,7 +3474,7 @@ DtCompileGeneric (
 
     /* Now we can actually compile the parse tree */
 
-    if (Length && *Length)
+    if (Length)
     {
         *Length = 0;
     }

Reply via email to