[debugserver] Remove varaible `ldb_set` which is set but not used.

Differential revision: https://reviews.llvm.org/D113598
This commit is contained in:
Jonas Devlieghere 2021-11-10 11:56:09 -08:00
parent a70d74323e
commit 18d883cc0a
1 changed files with 0 additions and 3 deletions

View File

@ -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:
@ -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;