Skip to content

Commit

Permalink
[debugserver] Remove varaible ldb_set which is set but not used.
Browse files Browse the repository at this point in the history
Differential revision: https://reviews.llvm.org/D113598
  • Loading branch information
JDevlieghere committed Nov 10, 2021
1 parent a70d743 commit 18d883c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lldb/tools/debugserver/source/RNBRemote.cpp
Expand Up @@ -4921,7 +4921,6 @@ void GenerateTargetXMLRegister(std::ostringstream &s, const uint32_t reg_num,
const char *gdb_type = default_gdb_type;
const char *default_lldb_format = "hex";
const char *lldb_format = default_lldb_format;
const char *lldb_set = NULL;

switch (reg.nub_info.type) {
case Uint:
Expand Down Expand Up @@ -4989,8 +4988,6 @@ void GenerateTargetXMLRegister(std::ostringstream &s, const uint32_t reg_num,
lldb_format = "vector-uint128";
break;
};
if (reg_set_info && reg.nub_info.set < num_reg_sets)
lldb_set = reg_set_info[reg.nub_info.set].name;

uint32_t indent = 2;

Expand Down

0 comments on commit 18d883c

Please sign in to comment.