summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-23 15:34:47 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-23 15:34:47 +0100
commit02ff5c5989c4e2a84e4a3be8123abdbd887f8648 (patch)
tree4cb8b458691329cba95e8e282aa01803ccef3848 /src/util.cc
parent04156a67a01fbb81c6e8b59ecff6a22dee712c30 (diff)
A few small cleanups.
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util.cc b/src/util.cc
index 848667fc..e0727d9a 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -84,7 +84,6 @@ libdcp::make_digest (string filename)
SHA1_Init (&sha);
Kumu::ByteString read_buffer (65536);
- int done = 0;
while (1) {
ui32_t read = 0;
Kumu::Result_t r = reader.Read (read_buffer.Data(), read_buffer.Capacity(), &read);
@@ -96,7 +95,6 @@ libdcp::make_digest (string filename)
}
SHA1_Update (&sha, read_buffer.Data(), read);
- done += read;
}
byte_t byte_buffer[20];