Skip to content

Commit

Permalink
Debugger: remove redundant assignment on ObjDesc
Browse files Browse the repository at this point in the history
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
Colin Ian King committed Jul 4, 2019
1 parent 450ffd8 commit f530f1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/components/debugger/dbobject.c
Expand Up @@ -567,7 +567,6 @@ AcpiDbDecodeLocals (


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

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

Expand Down

0 comments on commit f530f1a

Please sign in to comment.