summaryrefslogtreecommitdiff
path: root/patch_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'patch_writer.cc')
-rw-r--r--patch_writer.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/patch_writer.cc b/patch_writer.cc
index 52982e0..b7d9b08 100644
--- a/patch_writer.cc
+++ b/patch_writer.cc
@@ -15,13 +15,6 @@
namespace {
-void EncodeInt64(int64_t x, uint8_t* buf) {
- uint64_t y = x < 0 ? (1ULL << 63ULL) - x : x;
- for (int i = 0; i < 8; ++i) {
- buf[i] = y & 0xff;
- y /= 256;
- }
-}
} // namespace