Skip to content
Permalink
Browse files

Debugger: remove redundant assignment on ObjDesc

Pointer ObjDesc is being initialized with a value that is never
read and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
  • Loading branch information...
ColinIanKing committed Jul 4, 2019
1 parent 450ffd8 commit f530f1acb3128136ad97c715fdaebbbeff283ee2
Showing with 0 additions and 1 deletion.
  1. +0 −1 source/components/debugger/dbobject.c
@@ -567,7 +567,6 @@ AcpiDbDecodeLocals (


Node = WalkState->MethodNode;
ObjDesc = WalkState->MethodDesc;

/* There are no locals for the module-level code case */

0 comments on commit f530f1a

Please sign in to comment.
You can’t perform that action at this time.