mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
Remove dead store.
clang static analyzer fixit. llvm-svn: 219907
This commit is contained in:
@@ -2535,10 +2535,10 @@ Process::WriteMemory (addr_t addr, const void *buf, size_t size, Error &error)
|
||||
});
|
||||
|
||||
if (bytes_written < size)
|
||||
bytes_written += WriteMemoryPrivate (addr + bytes_written,
|
||||
ubuf + bytes_written,
|
||||
size - bytes_written,
|
||||
error);
|
||||
WriteMemoryPrivate (addr + bytes_written,
|
||||
ubuf + bytes_written,
|
||||
size - bytes_written,
|
||||
error);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user