forked from OSchip/llvm-project
[DWARF] DWARFDebugLoc::dumpRawEntry - remove dead stores. NFCI.
Don't bother zeroing local (unused) variables just before returning. Fixes clang static analyzer warning.
This commit is contained in:
parent
236129fb44
commit
028091195d
|
@ -260,7 +260,6 @@ void DWARFDebugLoc::dumpRawEntry(const DWARFLocationEntry &Entry,
|
|||
Value1 = Entry.Value1;
|
||||
break;
|
||||
case dwarf::DW_LLE_end_of_list:
|
||||
Value0 = Value1 = 0;
|
||||
return;
|
||||
default:
|
||||
llvm_unreachable("Not possible in DWARF4!");
|
||||
|
|
Loading…
Reference in New Issue