Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- crypto/digest.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/digest.c b/crypto/digest.c index b653fbb032..aff6d9876a 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -216,7 +216,6 @@ int digest_file_window(struct digest *d, const char *filename, const unsigned char *sig, ulong start, ulong size) { - ulong len = 0; int fd, now, ret = 0; unsigned char *buf; int flags = 0; @@ -271,7 +270,6 @@ int digest_file_window(struct digest *d, const char *filename, if (ret) goto out_free; size -= now; - len += now; if (!flags) buf += now; -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox