mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[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
5cd8182360
commit
b9e2a9c89d
@ -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
Block a user