Remove dead store.

clang static analyzer fixit.

llvm-svn: 219907
This commit is contained in:
Jason Molenda
2014-10-16 07:49:27 +00:00
parent 45abb8c969
commit 8b5f2cfc19

View File

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